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 #81976] Sun, 04 November 2012 06:06 Go to previous message
lecacheux.alain is currently offline  lecacheux.alain
Messages: 325
Registered: January 2008
Senior Member
Le dimanche 4 novembre 2012 14:55:36 UTC+1, wlandsman a écrit :
> 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.

Ok. Definitely different on Windows & IDL 8.2.1 :

IDL> testwin
% Compiled module: TESTWIN.
870 870
870 870
[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: Wed Oct 08 18:10:06 PDT 2025

Total time taken to generate the page: 0.00722 seconds