The CBitmap class encapsulates the functionality of a Windows 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 | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
MFC for Windows CE supports the following member functions of the CBitmap class differently than the standard MFC library does.
MFC for Windows CE does not support the following CBitmap member functions.
CreateDiscardableBitmap
GetBitmapBits
LoadMappedBitmap
SetBitmapBits
Note Because Windows CE 1.0 only supports black, white, light gray, and dark gray, you have to use the 2-bits per pixel (2bp) format for all bitmaps, if you're using version 1.0
CBitmap Member Functions, CBitmap Operators, Graphical Drawing Object Classes