Partager via


CBrush Members

Base Class Members

CObject Members

CGdiObject Members

Construction

CBrush

Constructs a CBrush object.

Initialization

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).

CreateHatchBrush

Initializes a brush with the specified hatched pattern and color.

CreatePatternBrush

Initializes a brush with a pattern specified by a bitmap.

CreateSolidBrush

Initializes a brush with the specified solid color.

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.

See Also

Reference

CBrush Class

Hierarchy Chart