[ROOT] How to get kButton3Down?

From: Thomas Bretz (tbretz@astro.uni-wuerzburg.de)
Date: Thu Jul 11 2002 - 13:01:40 MEST


Hi,

I have a class derived from TObject which is displayed in a Pad.

I get - as expected - a call to
MyObject::ExecuteEvent(kButton1Down, px, py)
when I click on the object.

Now I want to get kButton3Down, too. But this button displays the
context menu. To get rid of the context menu I switched this off using
SetBit(kNoContextMenu) which is working, but I still don't get the
Button3 event.

How do I get it?

Thanks in advance,
Thomas.



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:59 MET