diff --git a/win32ss/user/ntuser/window.c b/win32ss/user/ntuser/window.c index b98f607fe06..7dba26303e4 100644 --- a/win32ss/user/ntuser/window.c +++ b/win32ss/user/ntuser/window.c @@ -2430,6 +2430,7 @@ co_UserCreateWindowEx(CREATESTRUCTW* Cs, /* Notify the shell that a new window was created */ if (Window->spwndParent == UserGetDesktopWindow() && Window->spwndOwner == NULL && + (Window->style & WS_VISIBLE) && (!(Window->ExStyle & WS_EX_TOOLWINDOW) || (Window->ExStyle & WS_EX_APPWINDOW))) {