CBrush Class Members

Construction

CBrush Constructs a CBrush object.

Initialization

CreateSolidBrush Initializes a brush with the specified solid color.
CreateHatchBrush Initializes a brush with the specified hatched pattern and color.
CreateBrushIndirect Initializes a brush with the style, color, and pattern specified in a LOGBRUSH structure.
CreatePatternBrush Initializes a brush with a pattern specified by a bitmap.
CreateDIBPatternBrush Initializes a brush with a pattern specified by a device-independent bitmap (DIB).
CreateSysColorBrush Creates a brush that is the default system color.

Operations

FromHandle Returns a pointer to a CBrush object when given a handle to a Windows HBRUSH object.

Attributes

GetLogBrush Gets a LOGBRUSH structure.
operator HBRUSH Returns the Windows handle attached to the CBrush object.

CBrush OverviewBase Class MembersHierarchy Chart