Alvin wrote:

> I'd really appreciated it if someone could take a look at the test program
> attached and see what I am doing wrong?

I didn't really look deeply at your program, but here's my wild guess:

(1) picked() is not called, because Fl_Menu_::picked() is not virtual.
(2) you should use a callback instead

 From Fl_Menu_.cxx:

// When user picks a menu item, call this.  It will do the callback.

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

Reply via email to