tinus <o112w8r02@sneakemail.com>

Call the shell hook on showing/hiding window.

svn path=/trunk/; revision=14909
This commit is contained in:
Filip Navara 2005-05-01 11:15:11 +00:00
parent ea130b3ba2
commit 515d8e34ac

View file

@ -1283,6 +1283,10 @@ WinPosShowWindow(HWND Wnd, INT Cmd)
* FIXME: Need to check the window wasn't destroyed during the * FIXME: Need to check the window wasn't destroyed during the
* window procedure. * window procedure.
*/ */
if (!(Window->Parent))
{
IntShellHookNotify(HSHELL_WINDOWCREATED, (LPARAM)Wnd);
}
} }
/* We can't activate a child window */ /* We can't activate a child window */
@ -1314,6 +1318,11 @@ WinPosShowWindow(HWND Wnd, INT Cmd)
{ {
NtUserSetFocus(Window->Parent); NtUserSetFocus(Window->Parent);
} }
if (!(Window->Parent))
{
IntShellHookNotify(HSHELL_WINDOWDESTROYED, (LPARAM)Wnd);
}
} }
/* FIXME: Check for window destruction. */ /* FIXME: Check for window destruction. */