hItem = WinXTreeView_AddItem (hTreeView, hParent, hInsertAfter, iImage, iImageSelect, STRING item)
Adds an item to a tree view control
Parameter | Description |
---|---|
hTreeView | The handle to the tree view control to add the item to |
hParent | The handle to the parent item, use 0 (or $$TVI_ROOT) if this item has no parent (it appears at the top level) |
hInsertAfter | The item to insert this item after, use $$TVI_FIRST to insert as the first child of the parent or $$TVI_LAST to insert as the last child of the parent. |
iImage | The 0 based index in the tree view's image list of the image to use for this item |
iImageSelect | The 0 based index in the tree view's image list of the image to use when this item is selected |
STRING item | The label for the item |
The handle to the item or 0 on fail
none
'add an item to a tree view hItem = WinXTreeView_AddItem (hTV, 0, $$TVI_LAST, 0, 0, "Item 1") |
WinXAddTreeView
WinXTreeView_DeleteItem
WinXTreeView_GetNextItem
WinXTreeView_GetChildItem
WinXTreeView_GetParentItem
WinXTreeView_GetPreviousItem
WinXTreeView_GetSelection
WinXTreeView_GetItemLabel$
WinXTreeView_CopyItem