> The fltk menus do scroll once they are full - but that doesn't kick in > until the screen is full... I guess you could derive your own menu > widget and alter it's size limit behaviour, erm, somehow...
Hmmm, not so easy - I don't think this could be done by subclassing, it looks like you'd have to rework Fl_Menu.cxx and modify the menuwindow::menuwindow() and menuwindow::autoscroll() methods to use something other than screen height (scr_h) to restrict the menu height - with consequential changes to the way the menus are positioned and scrolled, too... Tricky. Maybe "max menu height" could/should be a parameter when the menu is created (in some future, not ABI compatible, version...) Oh well... SELEX Sensors and Airborne Systems Limited Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

