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

Home » Public Forums » archive » Re: Don't retrieve !D.Y_VSIZE too quickly
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: Don't retrieve !D.Y_VSIZE too quickly [message #81977 is a reply to message #81976] Sun, 04 November 2012 05:55 Go to previous messageGo to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
Here's the simplest form of the test program

pro testwin
window,xsize=870,ysize=870
print,!D.y_size,!D.y_vsize
print,!D.y_size,!D.y_vsize
return
end


IDL> testwin
% Compiled module: TESTWIN.
870 870
856 856

The reason I previously included get_screen_size is that the problem only occurs when opening a window on my machine with a Y size between 856 and 878, in other words between the full screen size and the effective screen size which accounts the 22 pixels needed for the menubar.


On Sunday, November 4, 2012 7:09:46 AM UTC-5, alx wrote:
> The observed delay might be related to garbage collection of the object that is created within the call of getprimaryscreensize().
>
> In 'testwin', you might exchange this function with original IDL's get_screen_size to check whether a delay is still there.
>
> Alain.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Help with FOR ...DO BEGIN..........I'M A BEGINNER, begging for some help!!!!!
Next Topic: Adding Color Bars to KML Files

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

Current Time: Sat Oct 11 00:33:13 PDT 2025

Total time taken to generate the page: 2.24160 seconds