On Jun 23, 2007, at 5:44 PM, Wolfgang Keller wrote:

> Now to my problem: when I run my program, when I click on one of  
> texts in the menu bar the menu appears (as it has to ;-) ) - in a  
> style FLTK call s FL_UP_BOX (I think).

FLTK 1.1 takes the border style from the Menu Button or Menu Bar,  
whichever handles the menu. I am not sure what gives the color though.

The best way to handle this is probably to derive your own class and  
see to it that the popup() and/or pulldown() function gives a handle  
to a Menu with the desired style. I have not tried that yet though.

I believe this is solved more elegantly in FLTK 2 (well, all of the  
menu stuff is solved more elegantly in 2 anyways ;-)

----
http://robowerk.com/


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

Reply via email to