OS.RedrawWindow (handle, null, 0, flags);
OS.RedrawWindow (topHandle, null, 0, flags);
public void setRedraw (boolean redraw) {	checkWidget ();	/*	 * Feature in Windows.  When WM_SETREDRAW is used to turn	 * off drawing in a widget, it clears the WS_VISIBLE bits	 * and then sets them when redraw is turned back on.  This	 * means that WM_SETREDRAW will make a widget unexpectedly	 * visible.  The fix is to track the visibility state while	 * drawing is turned off and restore it when drawing is	 * turned back on.	 */	if (drawCount == 0) {		int bits = OS.GetWindowLong (handle, OS.GWL_STYLE);		if ((bits & OS.WS_VISIBLE) == 0) state |= HIDDEN;	}	if (redraw) {		if (--drawCount == 0) {			OS.SendMessage (handle, OS.WM_SETREDRAW, 1, 0);			if ((state & HIDDEN) != 0) {				state &= ~HIDDEN;				OS.ShowWindow (handle, OS.SW_HIDE);			} else {				if (OS.IsWinCE) {					OS.InvalidateRect (handle, null, true);				} else {					int flags = OS.RDW_ERASE | OS.RDW_FRAME | OS.RDW_INVALIDATE | OS.RDW_ALLCHILDREN;					OS.RedrawWindow (handle, null, 0, flags);				}			}		}	} else {		if (drawCount++ == 0) {			OS.SendMessage (handle, OS.WM_SETREDRAW, 0, 0);		}	}}