Defines options that can be used to invalidate or validate a window, control repainting, and control which windows are affected by RedrawWindow.
Namespace:
ShellBoost.Core.Utilities
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax [FlagsAttribute]
public enum RDW
Members
| Member name | Value | Description |
---|
| RDW_NONE | 0 |
No options.
|
| RDW_INVALIDATE | 1 |
Invalidates lprcUpdate or hrgnUpdate (only one may be non-NULL). If both are NULL, the entire window is invalidated.
|
| RDW_INTERNALPAINT | 2 |
Causes a WM_PAINT message to be posted to the window regardless of whether any portion of the window is invalid.
|
| RDW_ERASE | 4 |
Causes the window to receive a WM_ERASEBKGND message when the window is repainted.
The RDW_INVALIDATE flag must also be specified; otherwise, RDW_ERASE has no effect.
|
| RDW_VALIDATE | 8 |
Validates lprcUpdate or hrgnUpdate (only one may be non-NULL).
If both are NULL, the entire window is validated.
This flag does not affect internal WM_PAINT messages.
|
| RDW_NOINTERNALPAINT | 16 |
Suppresses any pending internal WM_PAINT messages.
This flag does not affect WM_PAINT messages resulting from a non-NULL update area.
|
| RDW_NOERASE | 32 |
Suppresses any pending WM_ERASEBKGND messages.
|
| RDW_NOCHILDREN | 64 |
Excludes child windows, if any, from the repainting operation.
|
| RDW_ALLCHILDREN | 128 |
Includes child windows, if any, in the repainting operation.
|
| RDW_UPDATENOW | 256 |
Causes the affected windows (as specified by the RDW_ALLCHILDREN and RDW_NOCHILDREN flags) to receive WM_NCPAINT, WM_ERASEBKGND, and WM_PAINT messages, if necessary, before the function returns.
|
| RDW_ERASENOW | 512 |
Causes the affected windows (as specified by the RDW_ALLCHILDREN and RDW_NOCHILDREN flags) to receive WM_NCPAINT and WM_ERASEBKGND messages, if necessary, before the function returns.
WM_PAINT messages are received at the ordinary time.
|
| RDW_FRAME | 1024 |
Causes any part of the nonclient area of the window that intersects the update region to receive a WM_NCPAINT message.
The RDW_INVALIDATE flag must also be specified; otherwise, RDW_FRAME has no effect.
The WM_NCPAINT message is typically not sent during the execution of RedrawWindow unless either RDW_UPDATENOW or RDW_ERASENOW is specified.
|
| RDW_NOFRAME | 2048 |
Suppresses any pending WM_NCPAINT messages.
This flag must be used with RDW_VALIDATE and is typically used with RDW_NOCHILDREN.
RDW_NOFRAME should be used with care, as it could cause parts of a window to be painted improperly.
|
See Also