Index: subsys/win32k/ntuser/winpos.c =================================================================== --- subsys/win32k/ntuser/winpos.c (revision 14175) +++ subsys/win32k/ntuser/winpos.c (working copy) @@ -1283,6 +1283,10 @@ * FIXME: Need to check the window wasn't destroyed during the * window procedure. */ + if (!(Window->Parent)) + { + IntShellHookNotify(HSHELL_WINDOWCREATED, (LPARAM)Wnd); + } } /* We can't activate a child window */ @@ -1314,6 +1318,11 @@ { NtUserSetFocus(Window->Parent); } + + if (!(Window->Parent)) + { + IntShellHookNotify(HSHELL_WINDOWDESTROYED, (LPARAM)Wnd); + } } /* FIXME: Check for window destruction. */