This method initializes a brush with a pattern specified by a bitmap. The brush can subsequently be selected for any device context that supports raster operations.
Header file: | Afxwin.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 2.10 and later |
Complete documentation: | Visual C++ documentation |
BOOL CreatePatternBrush( CBitmap* pBitmap );
CBrush::CreateBrushIndirect, CBrush::CreateDIBPatternBrush, CGdiObject::DeleteObject