WM_SETREDRAW
This message is sent by an application to a window to enable changes in that window to be redrawn or to prevent changes in that window from being redrawn.
WM_SETREDRAW wParam = (WPARAM) fRedraw; lParam = 0;
Parameters
- fRedraw
Specifies the state of the redraw flag. If set to TRUE, the redraw flag is set. If set to FALSE, the flag is cleared.
Return Values
An application should return zero if it processes this message.
Remarks
The window manager provides no default processing for this message. However, certain controls do support this message, list box, tree view, and combo box.
This message sets or clears the redraw flag. If the redraw flag is cleared, the content of the given window is not updated after each change, and the window is not repainted until the redraw flag is set. For example, an application that must add several items to a list box can clear the redraw flag, add the items, and then set the redraw flag. Finally, the application can call the InvalidateRect function to cause the list box to be repainted.
Requirements
Runs on | Versions | Defined in | Include | Link to |
---|---|---|---|---|
Windows CE OS | 1.0 and later | Winuser.h |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
See Also
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.