UpdateWindow function user32

bool UpdateWindow(
  1. HWND hWnd
)

Updates the client area of the specified window by sending a WM_PAINT message to the window if the window's update region is not empty.

To learn more, see learn.microsoft.com/windows/win32/api/winuser/nf-winuser-updatewindow.

Implementation

@pragma('vm:prefer-inline')
bool UpdateWindow(HWND hWnd) => _UpdateWindow(hWnd) != FALSE;