> Stan wrote:
> > Sort of. If the calendar is a (normal) subwindow, the automatic
> > navigation leads off the end of the calendar back onto the main
> > window. At least I think it does.
>
> It shouldn't.
>
> If you can verify that, tell us the window manager/platform
> and fltk version.
Here's what I mean.
I'm running X on Solaris 8 through Exceed. I can get
the version numbers if it's important.
fltk-1.1.x-r5549
class TwoButtons : public Fl_Double_Window {
public:
TwoButtons(int x, int y)
: Fl_Double_Window(x, y, 100, 20)
{
Fl_Button* b1 = new Fl_Button(0, 0, 50, 20, "one");
Fl_Button* b2 = new Fl_Button(50, 0, 50, 20, "two");
end();
b1->take_focus();
}
};
int main()
{
Fl_Double_Window win(300, 300);
Fl_Button* b = new Fl_Button(50, 50, 100, 20, "main");
win.end();
Fl_Group::current(&win);
new TwoButtons(50, 70);
win.show();
return Fl::run();
}
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk