This topic has not yet been rated - Rate this topic

INDEXTOSTATEIMAGEMASK macro

Applies to: desktop apps only

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

Type: UINT

The index of a state image.

Return value

Returns the index of a state image.

Remarks

The INDEXTOSTATEIMAGEMASK macro is defined as follows:

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

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Commctrl.h

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ