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

Home » Public Forums » archive » the "real" screen size
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: the "real" screen size [message #73151 is a reply to message #73042] Mon, 25 October 2010 11:09 Go to previous messageGo to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
On Oct 25, 1:32 pm, mgalloy <mgal...@gmail.com> wrote:
>
>
> The EXCLUDE_TASKBAR is ignored on Macs, BUT it always returns the size
> *without* the menu bar (basically its the equivalent of
> EXCLUDE_TASKBAR=1 always):

I find this also -- so it looks like for Macs we can avoid the
flashing to get the maximum useable image area, and that a program
GetRealScreenSize() should have separate branches for Mac, Windows,
and Linux.

A couple of other notes:

1. The value of !D.Y_SIZE on my Linux box is intelligent, in that if
I hide the toolbar, I will get a larger value of !D.Y_SIZE, i.e. I
will be able to write a larger IDL image.
2. An alternative to device,get_screen_size = win is to use the
GET_SCREEN_SIZE() function in the ITTVIS library. Although the
change is not documented, this function was completely rewritten in
IDL 8.0 to use the IDLsysMonitorInfo object. However, it does not
accept the EXCLUDE_TASKBAR keyword. --Wayne

IDL> print,get_screen_size()
1600 1200
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: POLY_2D and anti-aliasing
Next Topic: Re: Z-Graphics Buffer Resolution

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

Current Time: Sat Oct 11 23:01:13 PDT 2025

Total time taken to generate the page: 0.88122 seconds