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.
Creates a 32-bit device-independent bitmap (DIB) that applications can write to directly.
static HBITMAP __stdcall CreateBitmap_32(
const CSize& size,
void** pBits
);
static HBITMAP __stdcall CreateBitmap_32(
HBITMAP bitmap,
COLORREF clrTransparent = -1
);
Parameters
Parameter |
Description |
[in] size |
A CSize parameter that indicates the size of the bitmap. |
[out] pBits |
A pointer to a data pointer that receives the location of the DIB's bit values. |
bitmap |
A handle to the original bitmap |
clrTransparent |
An RGB value specifying transparent color of the original bitmap. |
Return Value
A handle to the newly created DIB bitmap if this method is successful; otherwise NULL.
Remarks
For more information about how to create a DIB bitmap, see CreateDIBSection.
Requirements
Header: afxdrawmanager.h