The CreateMappedBitmap function creates a bitmap for use in a toolbar.
HBITMAP CreateMappedBitmap(
HINSTANCE hInstance, | |
int idBitmap, | |
UINT wFlags, | |
LPCOLORMAP lpColorMap, | |
int iNumMaps | |
); |
Value |
Meaning |
CMB_MASKED |
Uses a bitmap as a mask. |
If the function succeeds, the return value is the handle to the bitmap.
If the function fails, the return value is NULL. To get extended error information, call GetLastError.
The function creates a new bitmap using the bitmap data and colors specified by the specified bitmap resource and the color mapping information.