This method initializes a device-dependent memory bitmap with the specified width, height, and bit pattern.
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 |
BOOL CreateBitmap ( int nWidth, int nHeight, UINT nPlanes, UINT nBitcount, const void* lpBits );
Because Windows CE 1.0 only supports gray scale bitmaps, set the nPlanes parameter to 1 and the nBitCountl parameter to either 1 or 2 if you are targeting a platform running on Windows CE 1.0.
CDC::SelectObject, CGdiObject::DeleteObject, CDC::BitBlt