Not only in Windows [Re: GET_SCREEN_SIZE in Windows] [message #26350] |
Wed, 22 August 2001 02:35 |
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
|
|
|