From 515d8e34ac5ede35352cc9edb4ba76c658d54462 Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Sun, 1 May 2005 11:15:11 +0000 Subject: [PATCH] tinus Call the shell hook on showing/hiding window. svn path=/trunk/; revision=14909 --- reactos/subsys/win32k/ntuser/winpos.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/reactos/subsys/win32k/ntuser/winpos.c b/reactos/subsys/win32k/ntuser/winpos.c index f432429fc40..e43fc6e712c 100644 --- a/reactos/subsys/win32k/ntuser/winpos.c +++ b/reactos/subsys/win32k/ntuser/winpos.c @@ -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. */