| 313 | } |
| 314 | |
| 315 | MainAppWindow::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 | |
| 328 | void MainAppWindow::ConfigurationChanged() |
| 329 | { |
nothing calls this directly
no outgoing calls
no test coverage detected