comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: Re: GET_SCREEN_SIZE in Windows

Re: GET_SCREEN_SIZE in Windows
type: item
description: Justin wrote: > > Has anyone got any cunning ideas of how to find the screen size in Windows > WITHOUT including the task bar (the "start bar"). > > The simplest way would be to subtract n pixels from the height, however the > task bar can be moved to the side (as it is by some of our users...) > > Cheers, > > Justin You don't mean device,get_screen_size=variable ? Reimar -- Reimar Bauer Institut fuer Stratosphaerische Chemie (ICG-1) Forschungszentrum Juelich email: R.Bauer@fz-juelich.de http://www.fz-juelich.de/icg/icg1/ ============================================================ ====== a IDL library at ForschungsZentrum Juelich http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_lib_intro.h tml http://www.fz-juelich.de/zb/text/publikation/juel3786.html ============================================================ ====== read something about linux / windows http://www.suse.de/de/news/hotnews/MS.html
creator: R.Bauer
date: 2001-08-19T18:29:47-00:00

Re: GET_SCREEN_SIZE in Windows
type: item
description: 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
creator: ngls
date: 2001-08-21T15:25:16-00:00