> However, if the app is maximised, then then the app is 
> started, it is sized
> correctly (in a way I guess) but not in maximised mode.
> 
> Currently, I examine the window's dimensions and compare them against
> Fl::w() and Fl::h(). If either the window's width or height 
> matches Fl::w()
> or Fl::h() (respectively), then I assume it's maximised. This 
> is flawed on
> so many levels.
> 
> There must be a better way?

I did pretty much what you describe a while back. I don't know a better
way, but can't help feeling there ought to be.


> Also, is there a way to "ask" the window manager to start the 
> app maximised?

I think that varies a lot from platform to platform, and I don't think
fltk has a wrapper for that mechanism. Be nice if it did!

Sorry,
-- 
Ian



SELEX Sensors and Airborne Systems Limited
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

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

Reply via email to