Index: reactos/win32ss/user/ntuser/defwnd.c =================================================================== --- reactos/win32ss/user/ntuser/defwnd.c (revision 74687) +++ reactos/win32ss/user/ntuser/defwnd.c (working copy) @@ -97,6 +97,11 @@ RECT Rect; LONG style = pWnd->style; + if (!(pWnd->state2 & WNDS2_WMCREATEMSGPROCESSED)) + { + return 0; + } + IntGetClientRect(pWnd, &Rect); IntMapWindowPoints(pWnd, (style & WS_CHILD ? IntGetParent(pWnd) : NULL), (LPPOINT) &Rect, 2);