The CBrush class encapsulates the functionality of a Windows graphics device interface (GDI) brush, which is a bitmap that is used to fill the interior of closed shapes.
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
MFC for Windows CE supports the following member functions differently than the standard MFC library does.
MFC for Windows CE only supports three of the four constructor functions for the CBrush class.
The LOGBRUSH structure, used in some of the initialization functions, has also been modified for Windows CE.
Windows CE does not currently support hatched brushes, so you cannot use the CreateHatchBrush initialization function.
CBrush Member Functions, CBrush Operators, Graphical Drawing Object Classes, CBitmap, CDC, LOGBRUSH