indexing
	description: "RedrawWindow() flags."
	date: "$Date$"
	revision: "$Revision$"

class interface
	WEL_RDW_CONSTANTS

feature -- Access

	Rdw_allchildren: INTEGER is 128
			-- Controls which windows are affected by the RedrawWindow function.
			-- Includes child windows, if any, in the repainting operation.

	Rdw_erase: INTEGER is 4
			-- invalidation
			-- 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_erasenow: INTEGER is 512
			-- Controls when repainting occurs.
			-- 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: INTEGER is 1024
			-- invalidation
			-- 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_internalpaint: INTEGER is 2
			-- invalidation
			-- Causes a WM_PAINT message to be posted to
			-- the window regardless of whether any portion
			-- of the window is invalid.

	Rdw_invalidate: INTEGER is 1
			-- invalidation
			-- Invalidates lprcUpdate or hrgnUpdate
			-- (only one may be non-NULL). If both are NULL,
			-- the entire window is invalidated.

	Rdw_nochildren: INTEGER is 64
			-- Controls which windows are affected by the RedrawWindow function.
			-- Excludes child windows, if any, from the repainting operation.

	Rdw_noerase: INTEGER is 32
			-- validation
			-- Suppresses any pending WM_ERASEBKGND messages.

	Rdw_noframe: INTEGER is 2048
			-- validation
			-- 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.

	Rdw_nointernalpaint: INTEGER is 16
			-- validation
			-- Suppresses any pending internal WM_PAINT
			-- messages. This flag does not affect WM_PAINT
			-- messages resulting from a non-NULL update area.

	Rdw_updatenow: INTEGER is 256
			-- Controls when repainting occurs.
			-- 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_validate: INTEGER is 8
			-- validation
			-- 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.
	
invariant

		-- from ANY
	reflexive_equality: standard_is_equal (Current)
	reflexive_conformance: conforms_to (Current)

end -- class WEL_RDW_CONSTANTS