CBrush Member Functions

Construction
CBrush Constructs a CBrush object.
Initialization
CreateSolidBrush Initializes a brush with the specified solid color.
CreateBrushIndirect Initializes a brush with the style, color, and pattern specified in a LOGBRUSH structure.
CreateDIBPatternBrush Initializes a brush with a pattern specified by a device-independent bitmap (DIB).
CreatePatternBrush Initializes a brush with a pattern specified by a bitmap.
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.

See Also

CBrush Overview, CBrush Operators, Graphical Drawing Object Classes