On 09.11.2011 15:51, David Lopez wrote:
> Dear members:
> I have a window containing an Fl_Table, and an Fl_Menu_Button which is 
> normally hidden. The table handles the right click events to show a popup 
> menu that allows user to operate with the current row (Delete, Edit, etc.).
> That works fine, but the problem is that when the menu option is selected, 
> the click event is alse handled by the table and the selected row changes.
> I tried to catch the click events in a class derived from Fl_Menu_Button (the 
> popup object) but it does not receive the FL_PUSH event.
> I am using FLTK 1.3
> Any helping idea would be appreciated.
> Thank you very much.

Can you post a short, but complete and compilable example
program that shows the effect (as short as possible, and w/o
the extra class you used to catch the click events)?

Reading your description, this looks like a bug, but w/o seeing
real code it's difficult to decide.

Albrecht
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to