UpdateWindow

2.x

  void UpdateWindow(hwnd)    
  HWND hwnd; /* handle of window, */  

The UpdateWindow 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 function sends a WM_PAINT message directly to the window procedure of the given window, bypassing the application queue. If the update region is empty, no message is sent.

Parameters

hwnd

Identifies the window to be updated.

Return Value

This function does not return a value.

See Also

ExcludeUpdateRgn, GetUpdateRect, GetUpdateRgn, InvalidateRect, InvalidateRgn