I'm using a TreeView MouseDown Event to set a public mousebutton integer. In the TreeView Node click event I'm using this integer to check if I pressed the right button.
If I did, I'm popping up a menu. However, if I then click on another node (without getting rid of the popup) with the left button, the popup for that node appears.
Using some Debug.Prints I found that the MouseDown event is not fired, hence the NodeClick routine doesn't know that I've 'changed' buttons. What can I do about this? Why doesn't NodeClick have a button integer argument?
Anyone?





Reply With Quote