INDEXTOSTATEIMAGEMASK (Windows CE 5.0)

Send Feedback

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.

UINT INDEXTOSTATEIMAGEMASK( UINTi );

Parameters

  • i
    Index of a state image.

Return Values

None.

Remarks

The INDEXTOSTATEIMAGEMASK macro is defined as follows.

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

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h.

See Also

Common Control Macros

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.