On Feb 29, 2008, at 3:06 PM, Joe Strout wrote:
> On Feb 29, 2008, at 3:56 PM, Stephen Dodd wrote:
>
>> assuming the true height of a window is
>> Height + TitleBarHeight + MenuBarHeightIfWindows
>
> No, because Top is not the top of the title bar; it's the top of the
> content area (below the title bar and Windows menu bar). So, to get
> the bottom of the window, you use Top + Height.
I believe you can use a declare to get the height of the title bar
(which varies with the Frame property) but an estimate usually suffices.
The top of the content area is more important as this doesn't change
with the type of window. To have it be different would cause many
more problems orienting your x,y code in a window.
Terry
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|