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 #73116 is a reply to message #73042] Tue, 26 October 2010 13:03 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Mike Galloy writes:

> If you want to create a maximally sized graphics window so that the
> above example code works, then on Mac I think it has to use the UNIX
> solution.

Well, this is *extremely* confusing, which is why I'm trying
to write it down. So, what do you think the Mac is reporting,
then, when you do Get_Screen_Size()? You think this is the
window *without* a title bar, but not taking into account the
task bar, is that right?

I'm I correct that:

Device, Get_Screen_Size=theSize

On a Mac, actually gives the screen or monitor size?

> Does this work on Windows? IDLsysMonitor::getRectangles with
> EXCLUDE_TASKBAR excludes the windows menubar too?

It would appear so, yes.

Thanks for your help with this. Not having a Mac, and
not knowing all these machine-specific nuances, is what
makes writing machine independent code so very, very
difficult!

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[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: Sun Oct 12 01:28:41 PDT 2025

Total time taken to generate the page: 0.96133 seconds