COLORMAP structure (commctrl.h)

Contains information used by the CreateMappedBitmap function to map the colors of the bitmap.

Syntax

typedef struct _COLORMAP {
  COLORREF from;
  COLORREF to;
} COLORMAP, *LPCOLORMAP;

Members

from

Type: COLORREF

Color to map from.

to

Type: COLORREF

Color to map to.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header commctrl.h