2017-04-16 21:09 UTC
I am working with a tree control and want to collapse all but the current branch of the tree when the user right clicks anywhere on the control. The problem is that right clicking first fires the SelChanged event. Is there a way to avoid this?
The goal:
Left click: Change selection.
Right click: Do not change selection.
The goal:
Left click: Change selection.
Right click: Do not change selection.