*-- Defines from WINUSER.H #define RDW_INVALIDATE 0x0001 #define RDW_INTERNALPAINT 0x0002 #define RDW_ERASE 0x0004 #define RDW_VALIDATE 0x0008 #define RDW_NOINTERNALPAINT 0x0010 #define RDW_NOERASE 0x0020 #define RDW_NOCHILDREN 0x0040 #define RDW_ALLCHILDREN 0x0080 #define RDW_UPDATENOW 0x0100 #define RDW_ERASENOW 0x0200 #define RDW_FRAME 0x0400 #define RDW_NOFRAME 0x0800 *-- Merely a sample. OR the flags for whatever you wish. liMyFlags = RDW_UPDATENOW *-- Get your hWnd however you like. In VFP7: liHwnd = _screen.hwnd Declare Integer RedrawWindow In User32.dll Integer, String, String, Integer *-- Just NULL the 2nd and 3rd params to update the whole window region liRetVal = RedrawWindow(liHwnd, Null, Null, liMyFlags)