Is there a possibility to find out, what caused the event to fire?
In special, I need to find out which mouse key was used when a listbox and treeview was clicked but so far I haven't found a usefull possibility. I read somewhere that it could be done using a panel in front which was pushed back using windows z-ordering but I don't want to use this for 2 reasons:
1. Not guaranteed that it won't cause problems somewhen
2. Its Windows only, again not what I want. I didn't buy a crossplattform GUI to be fixed to windows again.
In special, I need to find out which mouse key was used when a listbox and treeview was clicked but so far I haven't found a usefull possibility. I read somewhere that it could be done using a panel in front which was pushed back using windows z-ordering but I don't want to use this for 2 reasons:
1. Not guaranteed that it won't cause problems somewhen
2. Its Windows only, again not what I want. I didn't buy a crossplattform GUI to be fixed to windows again.