INDEXTOSTATEIMAGEMASKINDEXTOSTATEIMAGEMASK*
*Contents  *Index  *Topic Contents
*Previous Topic: HANDLE_WM_NOTIFY
*Next Topic: Common Control Notification Messages

INDEXTOSTATEIMAGEMASK


UINT INDEXTOSTATEIMAGEMASK(
    UINT i	
   );	

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.

i
Index of a state image.

The INDEXTOSTATEIMAGEMASK macro is defined as follows:

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

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.