TreeView_GetItemState macro
Retrieves some or all of a tree-view item's state attributes. You can use this macro or send the TVM_GETITEMSTATE message explicitly.
Syntax
UINT TreeView_GetItemState( HWND hwndTV, HTREEITEM hItem, UINT stateMask );
Parameters
- hwndTV
-
Type: HWND
Handle to the tree-view control.
- hItem
-
Type: HTREEITEM
Handle to the item.
- stateMask
-
Type: UINT
Mask used to specify the states to query for. It is equivalent to the stateMask member of TVITEMEX.
Return value
Returns a UINT value that is equivalent to the state member of TVITEMEX. The state bits that are both true and were specified in stateMask will be set.
Requirements
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Header |
|
Show: