Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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