Re: Detecting height of dock and taskbar

2005-09-29 Thread Chipp Walters
Richard Gaskin wrote: Why would taskbar variances affect window title bar height? Doh, it wouldn't! I was reading the subject of this message and thought you were saying you could get the height of the taskbar from the registry, which you can't. But it appears you were referring to the ti

Re: Detecting height of dock and taskbar

2005-09-29 Thread Ken Ray
On 9/29/05 4:32 PM, "Lynch, Jonathan" <[EMAIL PROTECTED]> wrote: > Is that API call available through VBscrpt? > > If so, one could use cscript.exe from Rev to get the info. Unfortunately, you can't do raw API calls from VBScript (AFAIK). However, you could wrap the code in a DLL and then call i

Re: Detecting height of dock and taskbar

2005-09-29 Thread Ken Ray
On 9/29/05 5:13 PM, "Richard Gaskin" <[EMAIL PROTECTED]> wrote: > Chipp Walters wrote: >> Nope, sorry Richard, it can't be obtained correctly from the registry. I >> know, I've tried. There's a specific API call for it. See: >>

Re: Detecting height of dock and taskbar

2005-09-29 Thread Richard Gaskin
Chipp Walters wrote: Nope, sorry Richard, it can't be obtained correctly from the registry. I know, I've tried. There's a specific API call for it. See: That post contains something I don't understand: -

RE: Detecting height of dock and taskbar

2005-09-29 Thread Lynch, Jonathan
: Detecting height of dock and taskbar Nope, sorry Richard, it can't be obtained correctly from the registry. I know, I've tried. There's a specific API call for it. See: http://lists.runrev.com/pipermail/use-revolution/2003-December/027437.ht ml Also, unfortunately, the Re

Re: Detecting height of dock and taskbar

2005-09-29 Thread Chipp Walters
Nope, sorry Richard, it can't be obtained correctly from the registry. I know, I've tried. There's a specific API call for it. See: http://lists.runrev.com/pipermail/use-revolution/2003-December/027437.html Also, unfortunately, the RevIDE resets the windowBoundingRect on startup, so one is not

Re: Detecting height of dock and taskbar

2005-09-29 Thread Richard Gaskin
Sarah Reichelt wrote: 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. Maybe that was an old bu

Re: Detecting height of dock and taskbar

2005-09-29 Thread Sarah Reichelt
> > 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. > > Maybe that was an old bug that

Re: Detecting height of dock and taskbar

2005-09-29 Thread Sarah Reichelt
> 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 qu

Re: Detecting height of dock and taskbar

2005-09-29 Thread Richard Gaskin
Sarah Reichelt wrote: 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

Re: Detecting height of dock and taskbar

2005-09-29 Thread xbury . cs
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

Re: Detecting height of dock and taskbar

2005-09-29 Thread Sarah Reichelt
> 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 > pos

Detecting height of dock and taskbar

2005-09-29 Thread Claudi Cornaz
Hi all 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 possi