共用方式為


INDEXTOOVERLAYMASK

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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
Windows Embedded CE Windows CE 1.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

ImageList_Draw
ImageList_DrawEx
ImageList_SetOverlayImage