Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Construction
| CBitmap | Constructs a CBitmap object. |
Initialization
| LoadBitmap | Initializes the object by loading a named bitmap resource from the application’s executable file and attaching the bitmap to the object. |
| LoadOEMBitmap | Initializes the object by loading a predefined Windows bitmap and attaching the bitmap to the object. |
| LoadMappedBitmap | Loads a bitmap and maps colors to current system colors. |
| CreateBitmap | Initializes the object with a device-dependent memory bitmap that has a specified width, height, and bit pattern. |
| CreateBitmapIndirect | Initializes the object with a bitmap with the width, height, and bit pattern (if one is specified) given in a BITMAP structure. |
| CreateCompatibleBitmap | Initializes the object with a bitmap so that it is compatible with a specified device. |
| CreateDiscardableBitmap | Initializes the object with a discardable bitmap that is compatible with a specified device. |
Attributes
| GetBitmap | Fills a BITMAP structure with information about the bitmap. |
| operator HBITMAP | Returns the Windows handle attached to the CBitmap object. |
Operations
| FromHandle | Returns a pointer to a CBitmap object when given a handle to a Windows HBITMAP bitmap. |
| SetBitmapBits | Sets the bits of a bitmap to the specified bit values. |
| GetBitmapBits | Copies the bits of the specified bitmap into the specified buffer. |
| SetBitmapDimension | Assigns a width and height to a bitmap in 0.1-millimeter units. |
| GetBitmapDimension | Returns the width and height of the bitmap. The height and width are assumed to have been set previously by the SetBitmapDimension member function. |