From f799cb12906e7e2b7e99b4b95d1d9896422e6fda Mon Sep 17 00:00:00 2001 From: Christoph von Wittich Date: Tue, 19 May 2015 19:58:11 +0000 Subject: [PATCH] [stobject] do not handle WM_NCCREATE in ProcessWindowMessage otherwise it get passed to ProcessIconMessage which will flag it as handled in case g_NumIcons is 0 which then will result in ATL not calling DefWndProc anymore CORE-9592 svn path=/trunk/; revision=67830 --- reactos/dll/shellext/stobject/csystray.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reactos/dll/shellext/stobject/csystray.cpp b/reactos/dll/shellext/stobject/csystray.cpp index 02ea2ed013f..c6ed961b5fc 100644 --- a/reactos/dll/shellext/stobject/csystray.cpp +++ b/reactos/dll/shellext/stobject/csystray.cpp @@ -206,6 +206,8 @@ BOOL CSysTray::ProcessWindowMessage(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM switch (uMsg) { + case WM_NCCREATE: + return FALSE; case WM_CREATE: InitIcons(); SetTimer(1, 2000, NULL);