Compartilhar via


INDEXTOSTATEIMAGEMASK

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This macro prepares the index of a state image so that a tree-view control or list-view control can use the index to retrieve the state image for an item.

Syntax

UINT INDEXTOSTATEIMAGEMASK( 
  UINT i 
);

Parameters

  • i
    Index of a state image.

Return Value

None.

Remarks

The INDEXTOSTATEIMAGEMASK macro is defined as follows.

#define INDEXTOSTATEIMAGEMASK(i) ((i) << 12) 

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

Common Control Macros