I saw these examples, but am I wrong that first the treeview is being build before using it.
Here you have the handle to the tree, but I do seem to succeed to get the handle of the object found in the ControlTreeView.
Some example
MsgBox(0, "Nr. of items: ", ControlTreeView("Monitor","" ,"" ,"GetItemCount","#0|<Preferences>|interface"))
This returns 2 items found.
I have taken the code you pointed to, but I do not see the interfaces, which are named "interface" and "interface1".
Here I am lost:
local $str
$TV010 = ControlGetHandle ("Monitor", "", "")
for $1 = 0 to _GUICtrlTreeView_GetCount($TV010)
$str &= stringformat( 'Text = %-15s Child Switch = %-5s CTLID = %03i Parent CTLID = %03i Parent Handle = %-8s Sibling Count = %03i Child Count = %03i', _
_GUICtrlTreeView_GetText($TV010, $1), _
_GUICtrlTreeView_GetChildren($TV010,$1), _
_GUICtrlTreeView_GetItemParam($tv010,$1), _
_GUICtrlTreeView_GetParentParam($TV010,$1), _
_GUICtrlTreeView_GetParentHandle($TV010,$1), _
_GUICtrlTreeView_GetSiblingCount($TV010,$1), _
_GUICtrlTreeView_GetChildCount($TV010,$1) ) & @lf
next
ConsoleWrite($str & @LF)