mirror of
https://github.com/reactos/reactos.git
synced 2025-04-20 04:20:46 +00:00
[SHELL32]
- Call SetTaskmanWindow right before RegisterShellHookWindow like the old explorer did. svn path=/trunk/; revision=66860
This commit is contained in:
parent
efbc9e3dc9
commit
b69a61ee7c
1 changed files with 5 additions and 0 deletions
|
@ -310,9 +310,14 @@ BOOL WINAPI RegisterShellHook(
|
||||||
DWORD dwType)
|
DWORD dwType)
|
||||||
{
|
{
|
||||||
if (dwType == 3)
|
if (dwType == 3)
|
||||||
|
{
|
||||||
|
SetTaskmanWindow(hWnd);
|
||||||
return RegisterShellHookWindow(hWnd);
|
return RegisterShellHookWindow(hWnd);
|
||||||
|
}
|
||||||
else if (dwType == 0)
|
else if (dwType == 0)
|
||||||
|
{
|
||||||
return DeregisterShellHookWindow(hWnd);
|
return DeregisterShellHookWindow(hWnd);
|
||||||
|
}
|
||||||
|
|
||||||
ERR("Unsupported argument");
|
ERR("Unsupported argument");
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Reference in a new issue