Dear FLTK-people,
I use FLTK 1.1.7. I added a menu bar to a window and want to add a menu bar 
with some menus. This works:

    Fl_Menu_Bar* menuBar = new Fl_Menu_Bar(0, 0, 640, 20);
    menuBar->copy(menuitems, out_window);

Nothing seems special about this code.

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).

But I want to give the appearing menu the FL_BORDER_BOX style and white 
background color. I read through FLTK documentation and found no way to get the 
children derived from Fl_Menu_ (in this case Fl_Menu_Button). When I could get 
them I'd call

->box(...)
and

->color()

for it and i'd be there where I want to be.

So please could you help me how I can use another border and color for my items 
in my menu bar?


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

Reply via email to