mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 23:05:41 +00:00
tinus <o112w8r02@sneakemail.com>
Call the shell hook on showing/hiding window. svn path=/trunk/; revision=14909
This commit is contained in:
parent
ea130b3ba2
commit
515d8e34ac
1 changed files with 9 additions and 0 deletions
|
@ -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. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue