> As far as I know, OP needs to use system functions to be > sure of getting real resolution, not desktop size.
As Edzard says, the fltk-1.x functions tend to return the "available" screen real-estate, rather than the actual size of the display (i.e. clipping off panels, taskbars, etc...) If you need the actual display size, using platform specific methods may be better, or you can "round up" the values returned by screen_xywh() to the nearest display size (this nasty hack worked reliably when all monitors were well-known 4:3 ratio sizes - does not work now that there are all manner of odd widescreen sizes kicking around... So don't do this!) Note: I think that the fltk-2 codebase provides methods for getting either the "available" screen size *or* the "full" screen size. I guess that fltk-1.3 probably ought to do the same? -- Ian SELEX Galileo Ltd 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

