tvSetItemData |
Top Previous Next |
Syntax UINT = tvSetItemData(win as WINDOW,id as UINT,handle as UINT,nData as UINT) Description Associates a 32 bit data value with a tree view item. Parameters win - Window or dialog containing the control. id - Identifier of the tree view control. handle - Handle of item. nData - New 32 bit data value to associate with the item. Return value TRUE (1) if successful, FALSE (0) on failure. Remarks The 32 bit data value can be any integer value you wish to associate with a tree view item. See Also: tvGetItemData Example usage tvSetItemData(mydlg, 17, hItem, 9999) |