--- trunk/reactos/subsys/win32k/ntuser/winpos.c 2005-05-01 10:28:58 UTC (rev 14908)
+++ trunk/reactos/subsys/win32k/ntuser/winpos.c 2005-05-01 11:15:11 UTC (rev 14909)
@@ -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. */