![]() |
Window Definition Hit Test Result Code Constant |
Header: MacWindows.h |
enum WindowDefPartCode { wNoHit = , wInContent = 1, wInDrag = 2, wInGrow = 3, wInGoAway = 4, wInZoomIn = 5, wInZoomOut = 6, wInCollapseBox = 9, wInProxyIcon = 10 };
The mouse-down event did not occur in the content region or the drag region of any active or inactive window or in the close, size, zoom, or collapse box of an active window. The return value wNoHit might also mean that the point isnt in the window. The standard window definition functions, for example, return wNoHit if the point is in the window frame but not in the title bar.
The mouse-down event occurred in the content region of an active or inactive window (with the exception of the size box).
The mouse-down event occurred in the drag region of an active or inactive window.
The mouse-down occurred in the size box of an active window.
The mouse-down event occurred in the close box of an active window.
The mouse-down event occurred in the zoom box of an active window that is currently in the standard state.
The mouse-down event occurred in the zoom box of an active window that is currently in the user state.
The mouse-down event occurred in the collapse box of an active window. Available with Appearance Manager 1.0 and later.
The mouse-down event occurred in the proxy icon of a window.
With the Mac OS 8.5 Window Manager, your window definition function may return this constant to report that a mouse-down event occurred in your windows proxy icon. For other window definition hit test result code constants.
© 2000 Apple Computer, Inc. (Last Updated 4/14/2000)