win12.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
WinUpdateWindow (1.2)
                                                      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