On Mar 17, 2007, at 12:40 AM, TSalm wrote: > To get the right click on a Window, I'm inherit from the class > Window and overwrite the "int handle(int)" method. > Is there a simplest way to handle a right click without this > inheritance ?
You can use a Fl_Menu_Button that has the size of the window and is set into PUPUP3 mode: http://www.fltk.org/documentation.php/doc-1.1/ Fl_Menu_Button.html#Fl_Menu_Button.type ---- http://robowerk.com/ _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

