UpdateWindow

Syntax

void UpdateWindow(hWnd)

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 Update-Window 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.

Parameter Type/Description  

hWnd HWND Identifies the window to be updated.  

Return Value

None.