> > Can you not just show your window, call fltk::flushh(), then call your
> > ShowWindow(), then call fltk::run() - or does that still cause your
> > window to "flicker" on the display?
> >
>
> Thanks, I tried. Unfortunately, flush() is not enough for some reason :(

Sorry, the reason was between chair and keyboard. I've inserted flush()
after my ShowWindow(). When doing it in the correct order

    window->show();

#ifdef _WIN32
    fltk::flush();
    ShowWindow(fltk::xid(&window), SW_MAXIMIZE);
#endif //def _WIN32

    fltk::run();

..it does maximize correctly! :)

Thanks a lot!
   Ivan



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

Reply via email to