This documentation is archived and is not being maintained.

CBrush Class

Encapsulates a Windows graphics device interface (GDI) brush.

class CBrush : public CGdiObject

To use a CBrush object, construct a CBrush object and pass it to any CDC member function that requires a brush.

Brushes can be solid, hatched, or patterned.

For more information on CBrush, see Graphic Objects.

Header: afxwin.h