This function forces the update of a window and its associated child windows.
#define INCL_WINWINDOWMGR /* Or use INCL_WIN, INCL_PM, */ #include <os2.h> HWND hwnd; /* Window handle. */ BOOL rc; /* Window-updated indicator. */ rc = WinUpdateWindow(hwnd);