CBrush Methods

Construction Methods

Method Description
CBrush Constructs a CBrush object.

Initialization Methods

Method Description
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 Methods

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

Attributes Methods

Method Description
GetLogBrush Gets a LOGBRUSH structure.