R
RB Smissaert
Just come across a bug in the treeview control.
When I bring up a popup menu by right-clicking a node in the treeview and
then ignore the menu by left-clicking another node this new node gets
selected
but the highlight will stay with the old node. From then on no matter what
you
do the highlight can't be moved from that node unless you delete the node.
I have now found out that this is in fact a very old bug, but there is not
much written
about it and sofar I have come across no good solution to bypass this bug.
Setting the highlight in code is not really a solution as you then get
trouble when you
click in the treeview but not on a node.
Thanks for any advice about this.
RBS
When I bring up a popup menu by right-clicking a node in the treeview and
then ignore the menu by left-clicking another node this new node gets
selected
but the highlight will stay with the old node. From then on no matter what
you
do the highlight can't be moved from that node unless you delete the node.
I have now found out that this is in fact a very old bug, but there is not
much written
about it and sofar I have come across no good solution to bypass this bug.
Setting the highlight in code is not really a solution as you then get
trouble when you
click in the treeview but not on a node.
Thanks for any advice about this.
RBS