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

Home » Public Forums » archive » Re: How can i get SCR_XSIZE, SCR_YSIZE of WIDGET_BASE
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: How can i get SCR_XSIZE, SCR_YSIZE of WIDGET_BASE [message #16381 is a reply to message #16378] Fri, 23 July 1999 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Dmitriy Ryzhov (dryzhov@dialup.ptt.ru) writes:

> I try to use construction "geom=Widget_Info(event.top, /GEOMETRY)" in
> OnSizeChange event but it returns equals numbers( for example
> { 0.000000 0.000000 1024.00 45.0000 1024.00
> 45.0000 0.000000 0.000000 0.000000 3.00000 3.00000
> 3.00000}) every time event happen. What does it mean?
> Why numbers don't changing? And why SCR_YSIZE is equal to YSIZE?
> What primary method to get SCR_XSIZE and other?

Instead of printing the result, try this:

Help, geom, /Structure

The result is a structure. So, for example, to get the
X screen size:

x_screen_size = geom.scr_xsize

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Previous Topic: Compile Problem with IDL5.2
Next Topic: Re: Using C++ classes with IDL

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

Current Time: Sun Oct 12 14:47:32 PDT 2025

Total time taken to generate the page: 0.79891 seconds