|
Re: GET_SCREEN_SIZE in Windows [message #26361 is a reply to message #26285] |
Tue, 21 August 2001 08:25  |
ngls
Messages: 10 Registered: November 2000
|
Junior Member |
|
|
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
|
|
|