Changed SetWindowPos32 to force the update of the non-client area.

This commit is contained in:
Francois Boisvert 1999-02-14 09:18:15 +00:00 committed by Alexandre Julliard
parent 231dfa2af9
commit ae806896cb
1 changed files with 4 additions and 1 deletions

View File

@ -2438,7 +2438,10 @@ BOOL32 WINAPI SetWindowPos32( HWND32 hwnd, HWND32 hwndInsertAfter,
RDW_INVALIDATE | RDW_FRAME | RDW_ERASE | RDW_ERASENOW | RDW_ALLCHILDREN, 0 );
}
if( !wErase ) /* just update the nonclient area */
wndPtr->flags |= WIN_NEEDS_NCPAINT;
// the previous command (wndPtr->flags |= WIN_NEEDS_NCPAINT)
// was not enough. Absolutly need a non client update at this point
// Cannot wait for the next WM_PAINT message, particularly in the menu-bar redrawing
WIN_UpdateNCArea(wndPtr,TRUE);
}
}
uFlags |= SMC_NOPARENTERASE; /* X windows do not have eraseable parents */