Nóta
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
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
Type: UINT
Returns the index of a state image.
Remarks
The INDEXTOSTATEIMAGEMASK macro is defined as follows:
#define INDEXTOSTATEIMAGEMASK(i) ((i) << 12)
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| Target Platform | Windows |
| Header | commctrl.h |