INDEXTOOVERLAYMASK (Compact 2013)

3/28/2014

This macro prepares the index of an overlay mask so that the ImageList_Draw or ImageList_DrawEx function can use it.

Syntax

UINT INDEXTOOVERLAYMASK( 
  UINT iOverlay 
);

Parameters

  • iOverlay
    Index of an overlay mask.

Return Value

None.

Remarks

The INDEXTOOVERLAYMASK macro is defined as follows.

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

Requirements

Header

commctrl.h

See Also

Reference

Image List Macros
ImageList_Draw
ImageList_SetOverlayImage