mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
tinus <[email protected]>
Call the shell hook on showing/hiding window. svn path=/trunk/; revision=14909
This commit is contained in:
@@ -1283,6 +1283,10 @@ WinPosShowWindow(HWND Wnd, INT Cmd)
|
||||
* 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 @@ WinPosShowWindow(HWND Wnd, INT Cmd)
|
||||
{
|
||||
NtUserSetFocus(Window->Parent);
|
||||
}
|
||||
|
||||
if (!(Window->Parent))
|
||||
{
|
||||
IntShellHookNotify(HSHELL_WINDOWDESTROYED, (LPARAM)Wnd);
|
||||
}
|
||||
}
|
||||
|
||||
/* FIXME: Check for window destruction. */
|
||||
|
||||
Reference in New Issue
Block a user