TreeViewInsertItem
Add Item to TreeView Control
Call:
ts_dialogcontrol(int iDescr,"TreeViewInsertItem",int parent, int tvitem, int &resitem);
Here:
parent - parent item number,
tvitem - type of insertion into the RootItem (0), BotItem (-65534), TopItem (-65535) list.
resetem - the returned item number of the inserted item.