On 15.05.2011 19:22, Albrecht Schlosser wrote: > I did this, and what you write is correct, but what is the *last* item > in a menu array? I think that your assumption is wrong, because size() > "returns the number of Fl_Menu_Item structures that make up the menu, > correctly counting submenus", according to the docs.
Sorry, I forgot to cite the next important sentence: "This includes the "terminator" item at the end." > Hence there are size()-1 menu items in the array (w/o the terminating > zero item), and since menu items start counting at 0, this means: [...] Albrecht _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

