comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » [Q]Finding Screen Resolution in IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: [Q]Finding Screen Resolution in IDL [message #7000 is a reply to message #6821] Wed, 04 September 1996 00:00 Go to previous message
Tim Patterson is currently offline  Tim Patterson
Messages: 65
Registered: October 1995
Member
Thanks for the useful hints. In case anybody is interested,
the solution I came up with was the following, which appears
to work on the machines I have access to.

The user can define a specified environment variable to
be either 10,12 or 14. If this env. var. exists and has
a sensible value, then that's the font size I use for
the widgets.

If the variable isn't set up properly, then I check the
value of !d.y_ch_size. If this is less than 10, then I
set the font size to 12, otherwise I set it to 10. This
appears to work and keep the widgets reasonably to a
similar size on 100 dpi and 75 dpi font workstations.


Tim
[Message index]
 
Read Message
Read Message
Previous Topic: button sizing, sun vs sgi
Next Topic: Looking for IDL Code

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 14:33:42 PDT 2025

Total time taken to generate the page: 0.11059 seconds