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

Home » Public Forums » archive » Getting info on the whole screen in IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Getting info on the whole screen in IDL [message #3595] Fri, 17 February 1995 07:22
Chris Jacobsen is currently offline  Chris Jacobsen
Messages: 10
Registered: December 1994
Junior Member
The IDL parameters !D.X_SIZE and so forth tell you information
about the active display window (at least as far as I can tell).

I wanted to be able to find about the whole screen so as to
decide how big to make windows and fonts and so on.

I have written a routine
IDL> xpixels,xpix,ypix,xmm,ymm
IDL> print,xpix,ypix,xmm,ymm
1024 768 283.000 212.000
I have compiled versions for AIX (probably most
Unix) and for Windows, and it should be close to working
on VAX/VMS.
I'd be delighted if anyone made it work on other systems.

The files:
xpixels.c, xpixels.pro (ASCII)
xpixels.dll (Windows binary)
xpixels.so (AIX binary)
can be had from:
anonymous ftp to xray1.physics.sunysb.edu, cd pub/idl
or URL
file://xray1.physics.sunysb.edu/pub/idl/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: How to learn IDL?
Next Topic: New WWW site - IDL interfacing Info, data acquisition

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

Current Time: Sun Oct 12 08:18:01 PDT 2025

Total time taken to generate the page: 1.92111 seconds