CTreeCtrl::SetItemData

BOOL SetItemData( HTREEITEM hItem, DWORD dwData );

Return Value

Nonzero if successful; otherwise 0.

Parameters

hItem

Handle of the item whose data is to be retrieved.

dwData

A 32-bit application-specific value associated with the item specified by hItem.

Remarks

Call this function to set the 32-bit application-specific value associated with the specified item.

CTreeCtrl OverviewClass MembersHierarchy Chart

See Also   CTreeCtrl::GetItemData