TreeView_SetItem macro (commctrl.h)
The TreeView_SetItem macro sets some or all of a tree-view item's attributes. You can use this macro or send the TVM_SETITEM message explicitly.
Syntax
void TreeView_SetItem(
hwnd,
pitem
);
Parameters
hwnd
Type: HWND
Handle to the tree-view control.
pitem
Type: LPTVITEM
Pointer to a TVITEM structure that contains the new item attributes. With version 4.71 and later, you can instead use a TVITEMEX structure.
Return value
None
Remarks
The hItem member of the TVITEM or TVITEMEX structure identifies the item, and the mask member specifies which attributes to set.
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 |