mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 00:45:24 +00:00
- check if window was created successfully...
svn path=/trunk/; revision=27069
This commit is contained in:
parent
6a1c6e4790
commit
869f31838e
1 changed files with 1 additions and 1 deletions
|
@ -317,7 +317,7 @@ User32CreateWindowEx(DWORD dwExStyle,
|
|||
DbgPrint("[window] NtUserCreateWindowEx() == %d\n", Handle);
|
||||
#endif
|
||||
|
||||
if ((dwStyle & WS_VISIBLE) && (dwExStyle & WS_EX_MDICHILD))
|
||||
if ((dwStyle & WS_VISIBLE) && (dwExStyle & WS_EX_MDICHILD) && Handle != (HWND)0)
|
||||
{
|
||||
SendMessageW(hWndParent, WM_MDIREFRESHMENU, 0, 0);
|
||||
SetWindowPos(Handle, HWND_TOP, 0, 0, 0, 0, SWP_SHOWWINDOW |
|
||||
|
|
Loading…
Reference in a new issue