BOOL UpdateWindow(hwnd) | |||||
HWND hwnd; | /* handle of window | */ |
This function updates the client area of the given window by sending a WM_PAINT message to the window if the update region for the window is not empty. The UpdateWindow function sends a WM_PAINT message directly to the window function of the given window, bypassing the application queue. If the update region is empty, no message is sent.
hwnd
Identifies the window to be updated.
Returns TRUE for success, FALSE for failure.
InvalidateRgn, InvalidateRect