On 12 May 2007, at 10:10, Ivan Chernyavsky wrote: > Hello all, > > I need to start my application with FLTK-generated main window > maximized on screen (taking all display area except the linux/ > windows toolbar). Is there a standard way to achieve this platform- > independently? > > Acceptable alternative of course would be to create the window non- > maximized (i.e. with fixed w() and h()) and then make it maximized. > I just can't get this working the same way on Linux and Windows.
Easiest way is probably to call Fl::screen_xywh(...) sometime before you show your main window and use the values that returns to create your main window the right size and in the right place. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

