MCPcopy Create free account
hub / github.com/TranslucentTB/TranslucentTB / MainAppWindow

Method MainAppWindow

TranslucentTB/mainappwindow.cpp:315–326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313}
314
315MainAppWindow::MainAppWindow(Application &app, bool hideIconOverride, bool hasPackageIdentity, HINSTANCE hInstance, DynamicLoader &loader) :
316 // make the window topmost so that the context menu shows correctly
317 MessageWindow(TRAY_WINDOW, APP_NAME, hInstance, WS_POPUP, WS_EX_TOPMOST | WS_EX_NOREDIRECTIONBITMAP),
318 TrayContextMenu(TRAY_GUID, MAKEINTRESOURCE(IDI_TRAYWHITEICON), MAKEINTRESOURCE(IDI_TRAYBLACKICON), loader, hasPackageIdentity),
319 m_App(app),
320 m_HideIconOverride(hideIconOverride),
321 m_NewInstanceMessage(Window::RegisterMessage(WM_TTBNEWINSTANCESTARTED))
322{
323 RegisterMenuHandlers();
324
325 ConfigurationChanged();
326}
327
328void MainAppWindow::ConfigurationChanged()
329{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected