CBrush

The CBrush class encapsulates a Windows graphics device interface (GDI) brush. 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 in Visual C++ Programmer's Guide.

#include <afxwin.h>

Class MembersBase ClassHierarchy Chart

Sample   MFC Sample PROPDLG

See Also   CBitmap, CDC