INDEXTOSTATEIMAGEMASK

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.

At a Glance

Header file: Commctrl.h
Windows CE versions: 1.0 and later

Syntax

UINT INDEXTOSTATEIMAGEMASK( UINT i );

Parameters

i

Index of a state image.

Remarks

The INDEXTOSTATEIMAGEMASK macro is defined as follows:

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