◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── #define INCL_WINMESSAGEMGR BOOL WinUpdateWindow(hwnd) HWND hwnd; /* handle of the window */ The WinUpdateWindow function forces a window and its associated child windows to be updated. Parameter Description ──────────────────────────────────────────────────────────────────────────── hwnd Identifies the window to be updated. Return Value The return value is TRUE if the function is successful or FALSE if an error occurs. Comments If hwnd is a child window of a parent window that was created without the WS_CLIPCHILDREN style, the update region of hwnd is removed from the update region of the parent window. This is so that after the hwnd window is redrawn, the parent window will not draw over what was just drawn for hwnd. See Also WinInvalidateRect ♦