Click or drag to resize

RDW Enumeration

Defines options that can be used to invalidate or validate a window, control repainting, and control which windows are affected by RedrawWindow.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
[FlagsAttribute]
public enum RDW
Members
  Member nameValueDescription
RDW_NONE0 No options.
RDW_INVALIDATE1 Invalidates lprcUpdate or hrgnUpdate (only one may be non-NULL). If both are NULL, the entire window is invalidated.
RDW_INTERNALPAINT2 Causes a WM_PAINT message to be posted to the window regardless of whether any portion of the window is invalid.
RDW_ERASE4 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_VALIDATE8 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_NOINTERNALPAINT16 Suppresses any pending internal WM_PAINT messages. This flag does not affect WM_PAINT messages resulting from a non-NULL update area.
RDW_NOERASE32 Suppresses any pending WM_ERASEBKGND messages.
RDW_NOCHILDREN64 Excludes child windows, if any, from the repainting operation.
RDW_ALLCHILDREN128 Includes child windows, if any, in the repainting operation.
RDW_UPDATENOW256 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_ERASENOW512 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_FRAME1024 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_NOFRAME2048 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