> myButton->visible_focus(0); > > That removes the button from keyboard navigation also (maybe an >unwanted > side effect in your case).
I have tried this also but same problem. I have checked the all available(exe) programs but all have same issues. I created a new project. You can check following source code in 1.1.7. Here i'm sending source code. and attaching program exe and screen shot on rapid share. Click on 2 or 3 buttons one after another you will find all round button changed to rectangle for that link is http://rapidshare.com/files/36665379/Desktop.zip.html source code #include "stdafx.h" #include <FL/Fl.H> #include <FL/Fl_Double_Window.H> #include <FL/Fl_Button.H> int main(int argc, char* argv[]) { Fl_Double_Window *window=new Fl_Double_Window(0,0,600,500); window->color((Fl_Color)4); { Fl_Group* o = new Fl_Group(0, 25, 500, 35); o->color((Fl_Color)89); { Fl_Button* o = new Fl_Button(10, 30, 75, 25, "File"); o->box(FL_ROUNDED_BOX); o->down_box(FL_UP_BOX); o->visible_focus(0); o->labelfont(9); } { Fl_Button* o = new Fl_Button(120, 30, 75, 25, "Edit"); o->box(FL_ROUNDED_BOX); o->down_box(FL_UP_BOX); o->visible_focus(0); o->labelfont(9); } { Fl_Button* o = new Fl_Button(230, 30, 75, 25, "Save"); o->box(FL_ROUNDED_BOX); o->down_box(FL_UP_BOX); o->visible_focus(0); o->labelfont(9); } { Fl_Button* o = new Fl_Button(340, 30, 75, 25, "Close"); o->box(FL_ROUNDED_BOX); o->down_box(FL_UP_BOX); o->visible_focus(0); o->labelfont(9); } { Fl_Button* o = new Fl_Button(450, 30, 75, 25, "Exit"); o->box(FL_ROUNDED_BOX); o->down_box(FL_UP_BOX); o->labelfont(9);; } o->end(); } window->end(); window->show(argc, argv); return Fl::run(); } _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

