INDEXTOOVERLAYMASK macro (commctrl.h)

Prepares the index of an overlay mask so that the ImageList_Draw function can use it.

Syntax

UINT INDEXTOOVERLAYMASK(
   UINT i
);

Parameters

i

Type: UINT

An index of an overlay mask.

Return value

Type: UINT

No return value.

Remarks

The INDEXTOOVERLAYMASK macro is defined as follows.

#define INDEXTOOVERLAYMASK(i) ((i) << 8)

Requirements

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