Reference

CreateMappedBitmap(3w)

NAME

CreateMappedBitmap (COMCTL32.8)

SYNOPSIS

HBITMAP CreateMappedBitmap
(
HINSTANCE hInstance,
INT_PTR idBitmap,
UINT wFlags,
LPCOLORMAP lpColorMap,
INT iNumMaps
)

DESCRIPTION

Loads a bitmap resource using a colour map.

PARAMS

hInstance [In] Handle to the module containing the bitmap.

idBitmap [In] The bitmap resource ID.

wFlags [In] CMB_MASKED for using bitmap as a mask or 0 for normal.

lpColorMap [In] Colour information needed for the bitmap or NULL (uses system colours).

iNumMaps [In] Number of COLORMAP's pointed to by lpColorMap.

RETURNS

Success: handle to the new bitmap

Failure: 0

IMPLEMENTATION

Declared in "commctrl.h".

Implemented in "dlls/comctl32/commctrl.c".

Debug channel "commctrl".

History