[ros-diffs] [navaraf] 14909: tinus <o112w8r02@sneakemail.com>
navaraf at svn.reactos.com
navaraf at svn.reactos.com
Sun May 1 13:15:13 CEST 2005
tinus <o112w8r02 at sneakemail.com>
Call the shell hook on showing/hiding window.
Modified: trunk/reactos/subsys/win32k/ntuser/winpos.c
_____
Modified: trunk/reactos/subsys/win32k/ntuser/winpos.c
--- 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. */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050501/5dd94242/attachment.html
More information about the Ros-diffs
mailing list