【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.1.27.29 UpdateWindow
Contents
Description
Updates the client area of the specified window.
Syntax
BOOL UpdateWindow( HWND hWnd )
Parameters
- hWnd
- [input] Handle to the window to be updated.
Return
Nonzero indicates success.
Zero indicates failure.
To get extended error information, call GetLastError.
Examples
Remark
The UpdateWindow function 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. The function sends a WM_PAINT message directly to the window procedure of the specified window, bypassing the application queue. If the update region is empty, no message is sent.
See Also
Header to Include
origin.h