I have problems to understand why I get no response from gPad->getEvent() for other events than the left mouse button in the macros I’ve attached below.
The first macro draws a histo and calls a second macro with the exec method.
In the second one I try to handle clicks with the left and middle mouse button but the return value is only 11.
Why I cannot see a response from rollovers, mouse mouvements or the middle mouse button ?
klick.C (267 Bytes)
macro1.C (240 Bytes)