Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » detecting the taskbar's length
detecting the taskbar's length [message #451005] Mon, 21 February 2005 08:14 Go to next message
Eclipse UserFriend
Originally posted by: e3oginosX.hotmail.com

is there a way of getting the OS's taskbar's length?

i need to make a popup appear as from behind the taskbar (something like
msn messenger) , but in order to do that i need to know the OS's taskbar's
width.

thanks
Re: detecting the taskbar's length [message #451015 is a reply to message #451005] Mon, 21 February 2005 14:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: v.j.b

"Kiriakou Andonis" <e3oginosX@hotmail.com> wrote in message
news:cvc595$nbo$1@www.eclipse.org...
> is there a way of getting the OS's taskbar's length?

isn't the width of the taskbar the same as the screenwidth?
Re: detecting the taskbar's length [message #451023 is a reply to message #451005] Mon, 21 February 2005 17:07 Go to previous messageGo to next message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
You could probably figure this out by comparing Monitor.getClientArea() and
Monitor.getBounds().

"Kiriakou Andonis" <e3oginosX@hotmail.com> wrote in message
news:cvc595$nbo$1@www.eclipse.org...
> is there a way of getting the OS's taskbar's length?
>
> i need to make a popup appear as from behind the taskbar (something like
> msn messenger) , but in order to do that i need to know the OS's taskbar's
> width.
>
> thanks
>
Re: detecting the taskbar's length [message #451026 is a reply to message #451023] Mon, 21 February 2005 18:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: e3oginosX.hotmail.com

thanks

Steve Northover wrote:

> You could probably figure this out by comparing Monitor.getClientArea() and
> Monitor.getBounds().

> "Kiriakou Andonis" <e3oginosX@hotmail.com> wrote in message
> news:cvc595$nbo$1@www.eclipse.org...
>> is there a way of getting the OS's taskbar's length?
>>
>> i need to make a popup appear as from behind the taskbar (something like
>> msn messenger) , but in order to do that i need to know the OS's taskbar's
>> width.
>>
>> thanks
>>
Re: detecting the taskbar's length [message #451079 is a reply to message #451023] Tue, 22 February 2005 23:23 Go to previous messageGo to next message
Stef van Dijk is currently offline Stef van DijkFriend
Messages: 31
Registered: July 2009
Member
Is this supposed to work on Gtk (or am I misunderstanding the original
question)? I'm trying to determine the amount of available screen space
which depends on the height of the panel along the bottom (which may or may
not autohide). But when I tried using Monitor, the result was the same for
both bounds and clientArea regardless of whether the panel was visible or
not.
Note that maximize does the right thing so I'm hoping there is a simple way
to get the available space.

Stef

"Steve Northover" <steve_northover@ca.ibm.com> wrote in message
news:cvd4ha$s8l$1@www.eclipse.org...
> You could probably figure this out by comparing Monitor.getClientArea()
and
> Monitor.getBounds().
>
> "Kiriakou Andonis" <e3oginosX@hotmail.com> wrote in message
> news:cvc595$nbo$1@www.eclipse.org...
> > is there a way of getting the OS's taskbar's length?
> >
> > i need to make a popup appear as from behind the taskbar (something like
> > msn messenger) , but in order to do that i need to know the OS's
taskbar's
> > width.
> >
> > thanks
> >
>
>
Re: detecting the taskbar's length [message #451109 is a reply to message #451079] Wed, 23 February 2005 13:49 Go to previous message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
It is intended to work. Enter a bug report. It may not be possible to get
this information (although Window managers somehow do it).

"Stef van Dijk" <not-me@not-here.com> wrote in message
news:cvgep3$6lq$1@www.eclipse.org...
> Is this supposed to work on Gtk (or am I misunderstanding the original
> question)? I'm trying to determine the amount of available screen space
> which depends on the height of the panel along the bottom (which may or
may
> not autohide). But when I tried using Monitor, the result was the same for
> both bounds and clientArea regardless of whether the panel was visible or
> not.
> Note that maximize does the right thing so I'm hoping there is a simple
way
> to get the available space.
>
> Stef
>
> "Steve Northover" <steve_northover@ca.ibm.com> wrote in message
> news:cvd4ha$s8l$1@www.eclipse.org...
> > You could probably figure this out by comparing Monitor.getClientArea()
> and
> > Monitor.getBounds().
> >
> > "Kiriakou Andonis" <e3oginosX@hotmail.com> wrote in message
> > news:cvc595$nbo$1@www.eclipse.org...
> > > is there a way of getting the OS's taskbar's length?
> > >
> > > i need to make a popup appear as from behind the taskbar (something
like
> > > msn messenger) , but in order to do that i need to know the OS's
> taskbar's
> > > width.
> > >
> > > thanks
> > >
> >
> >
>
>
Previous Topic:custom imagery handlers
Next Topic:change size of a component at runtime
Goto Forum:
  


Current Time: Tue Apr 23 13:36:35 GMT 2024

Powered by FUDForum. Page generated in 0.03365 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top