This class encapsulates the functionality of a Windows CE graphics device interface (GDI) brush, which is a bitmap that is used to fill the interior of closed shapes.
Header file: | Afxwin.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
MFC for Windows CE supports the following methods differently than the standard MFC library does.
CBrush::CreateBrushIndirect |
CBrush::CreateDIBPatternBrush |
CBrush::CreateSysColorBrush |
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.
Because Windows CE does not currently support hatched brushes, it does not support the CreateHatchBrush initialization method.
CBitmap, CDC, LOGBRUSH, Graphical Drawing Object Classes