[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
This commit is contained in:
Christoph von Wittich 2015-05-19 19:58:11 +00:00
parent 51db26b100
commit f799cb1290

View file

@ -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);