This class encapsulates the functionality of a Windows CE graphics device interface (GDI) bitmap, which is an array of bits that contains data describing the colors in a rectangular region on the screen or printer.
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 of the CBitmap class differently than the standard MFC library does.
CBitmap::CreateBitmap |
CBitmap::LoadBitmap |
CBitmap::LoadOEMBitmap |
MFC for Windows CE does not support the following CBitmap methods.
CreateDiscardableBitmap |
GetBitmapBits |
LoadMappedBitmap |
SetBitmapBits |
Because Windows CE 1.0 only supports black, white, light gray, and dark gray, use the 2-bits per pixel (2bp) format for all bitmaps.