WM_CREATE you can see this property in msdn. The WM_CREATE message is sent when an application requests that a window be created by calling the CreateWindowEx or CreateWindow function. (The message is sent before the function returns.) The window procedure of the new window receives this message after the window is created, but before the window becomes visible. so you should hook WM_SHOWWINDOW or use shellHook,but it handle only top-level window
The WM_CREATE message is sent when an application requests that a window be created by calling the CreateWindowEx or CreateWindow function. (The message is sent before the function returns.) The window procedure of the new window receives this message after the window is created, but before the window becomes visible.
so you should hook WM_SHOWWINDOW or use shellHook,but it handle only top-level window