>>Why don't you use the CheckBoxes property ? see image attached
>
>Use the checkbox or not, that is the question!
>
>This would come as a replacement for the current way of handling stuff in the application. Via a standard listbox using Ctrl and Shift for multiple values.
>
>>There's an activeX event NodeCheck that occurs when an item is checked or unchecked. If it's a branch you can check/uncheck all branches and leaves below
>
>The checkbox is certainly an option but the checkbox will to be need to be displayed selectively for at some levels down the tree structure depending on the data structure (which is highly recursive).
>
>Do you think that is possible? I have not used the stuff recently and I just tried a few tricks and found no way for this.
(1) I do not think it's possible to set checkboxes selectively
(2) You could try the standard ms way (ctrl, shift) etc, but I think you have to roll your own, ie
- do not use checkboxes then
- change the node's backcolor to a different value when it is selected
- you'll have to write code to handle ctrl and shift (click), ie change the nodes' backcolor
Gregory