Detecting height of dock and taskbar

xbury.cs at clearstream.com xbury.cs at clearstream.com
Thu Sep 29 07:55:41 EDT 2005


Sarah,

Nuance! On windows, it "may" give you the height of the task bar... 

If you change the taskbar, rev doesn't notice... Rev doesn't know if it is 
up or down either...

Note this is the same with anything you change in windows (selection or 
window colors) when 
you use rev, you have to quit rev and restart it for it to notice... ;(



use-revolution-bounces at lists.runrev.com wrote on 29/09/2005 13:45:58:

> > Is there a way to detect the height of the dock in OSX and of the
> > taskbar in windows.
> >
> > I try to create a complete set of routines to: create open and save
> > documents (windows and mac).
> >
> > While opening a document I want it to be completly on the screen (also
> > the bottomRight so it's
> > possible to resize the doc) and have an offset for the topLeft from
> > other open docs.
> > For this I need to know how much room to leave at the bottom for the
> > dock or the taskbar.
> > I guess I need a shell command to do this, but unfortunatly I have no
> > clue
> >
> 
> Check out the windowBoundingRect. It gives you the usable rectangle
> allowing for the dock or taskbar. However with Macs, it does not allow
> for the menu bar, so you may need increase the 2nd item to stop your
> windows disappearing under the menu bar.
> 
> Cheers,
> Sarah
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution



-----------------------------------------
Visit us at http://www.clearstream.com
                                                          
IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream
International does not accept legal responsibility for the contents of
this message.

The information contained in this e-mail is confidential and may be
legally privileged. It is intended solely for the addressee. If you are
not the intended recipient, any disclosure, copying, distribution or
any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful. Any views expressed in this e-mail are
those of the individual sender, except where the sender specifically
states them to be the views of Clearstream International or of any of
its affiliates or subsidiaries.

END OF DISCLAIMER



More information about the use-livecode mailing list