On the Mac, you can use some declares to figure out the various parts of
the window:
<http://developer.apple.com/documentation/Carbon/Reference/Window_Manager/index.html>
And on Windows, you can do the same:
<http://msdn2.microsoft.com/en-us/library/ms674871.aspx>
I will say that I'm not entirely sure which function or params it is for
getting this value on Windows... perhaps one of the more savvy Windows
users will chime in.
- Ryan Dary
Scott Crick (Lists) wrote:
Hi all!
It appears that, under 2007r1, a window does not actually have a concept of
how a toolbar affects its .top property.
For example, if I have a window that has a toolbar in Mac OS X and set the
window.top to 100, this does not take into account the toolbar. The start of
the window's content area (right below the toolbar) is 100.
This means that window.top changes if the user clicks the toolbar widget in
Mac OS X to show or hide the window's toolbar.
Does anyone know of a way to determine the window's true top (i.e. The top
of the titlebar), not the top of the content area?
Sincerely,
Scott
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>