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

Home » Public Forums » archive » Not only in Windows [Re: GET_SCREEN_SIZE in Windows]
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Not only in Windows [Re: GET_SCREEN_SIZE in Windows] [message #26350] Wed, 22 August 2001 02:35
weitkamp is currently offline  weitkamp
Messages: 33
Registered: October 1998
Member
This problem (getting the size of the screen without task bar, or in
other terms, the size a maximized window should have) is not unique to
Windows. It occurs in a very similar fashion in KDE (a widely-used
graphical frontend to Linux). KDE has a task bar much like Windows,
and a menu panel. Both can be placed at different positions on the
screen, hidden etc. The K window manager knows how to determine the
screen area usable for windows, but I do not know if IDL can find out.
Anyway, GET_SCREEN_SIZE has the same limited functionality as in
Windows.

Timm

ngls@bigfoot.com (Justin) wrote in message news:<9104A85DAltbyltbmltbouts@155.198.199.181>...
> r.bauer@fz-juelich.de (Reimar Bauer) wrote in <3B80059B.CE3B206A@fz-
> juelich.de>:
>
>> You don't mean device,get_screen_size=variable ?
>
> Sadly no. This gives the same result as:
>
> IDL> print, get_screen_size()
> % Compiled module: GET_SCREEN_SIZE.
> 1280.00 1024.00
>
> Where 1280 by 1024 is the total size of the desktop. If I create a widget
> this size, part of the widget is obscured under the Windows task bar. I would
> like to size the widget so that it fills all of the available space (i.e.
> desktop size less task-bar). This is the size that a maximized window would
> fill.
>
> For me, with the task-bar at the bottom of the screen, I would want the
> routine to return 1280 by 1000 since the task-bar takes up 24 pixels
> vertically. However the task-bar can live up the side of the screen.
>
> Justin
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Frustration with TABLE GUI in IDL
Next Topic: incremental time data file.....

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

Current Time: Thu Oct 09 06:11:12 PDT 2025

Total time taken to generate the page: 1.27760 seconds