I have a very sexy Treeview that creates a "phonebook" type listing
+Jones [an item]
---- Albert [a child]
It uses these styles:
Local $iStyle = BitOr ( $TVS_EDITLABELS, $TVS_HASBUTTONS, $TVS_HASLINES, $TVS_LINESATROOT, $TVS_DISABLEDRAGANDDROP, $TVS_SHOWALWAYS, $TVS_CHECKBOXES ) It is created with GUICtrlCreateTreeview() and uses
_GUICtrlTreeView_AddChild() I want checkboxes ONLY on the items (surnames above), not the children. And, preferably the user must be able to click (select) the line (child) for info, but that info must preferable point to the item, so when browsing and click "John" the checkbox for WEBSTER should get ticked and return the handle/control id for WEBSTER, which I can then use to manipulate the item (and children) further.
My first issue is to get the checkboxes away from the children.
The info from the children can probably gleaned from here: