![]() |
FindWindow Result Code Constant for the Proxy Icon |
Header: MacWindows.h |
enum WindowPartCode { inDesk = , inNoWindow = , inMenuBar = 1, inSysWindow = 2, inContent = 3, inDrag = 4, inGrow = 5, inGoAway = 6, inZoomIn = 7, inZoomOut = 8, inCollapseBox = 11, inProxyIcon = 12 };
The cursor is in the desktop region, not in the menu bar, a driver window, or any window that belongs to your application. When FindWindow returns inDesk, your application doesnt need to do anything.
The user has pressed the mouse button while the cursor is in the menu bar. When FindWindow returns inMenuBar, your application typically adjusts its menus and then calls the Menu Manager function MenuSelect to let the user choose menu items.
The user has pressed the mouse button while the cursor is in a window belonging to a driver in your applications partition. If FindWindow returns inSysWindow, your application typically calls the function SystemClick.
The user has pressed the mouse button while the cursor is in the content area (excluding the size box in an active window) of one of your applications windows. When FindWindow returns inContent, your application determines how to handle clicks in the content region.
The user has pressed the mouse button while the cursor is in the drag region of a window. When FindWindow returns inDrag, your application typically calls DragWindow to let the user drag the window to a new location.
The user has pressed the mouse button while the cursor is in an active windows size box. When FindWindow returns inGrow, your application typically calls GrowWindow .
The user has pressed the mouse button while the cursor is in an active windows close box. When FindWindow returns inGoAway, your application typically calls TrackGoAway to track mouse activity while the button is down and then calls its own function for closing a window if the user releases the button while the cursor is in the close box.
The user has pressed the mouse button while the cursor is in the zoom box of an active window that is currently in the standard state. When FindWindow returns inZoomIn, your application typically calls TrackBox to track mouse activity while the button is down and then calls its own function for zooming a window if the user releases the button while the cursor is in the zoom box.
The user has pressed the mouse button while the cursor is in the zoom box of an active window that is currently in the user state. When FindWindow returns inZoomOut, your application typically calls the function TrackBox to track mouse activity while the button is down. Your application then calls its own function for zooming a window if the user releases the button while the cursor is in the zoom box.
The user has pressed the mouse button while the cursor is in an active windows collapse box. When FindWindow returns inCollapseBox, your application typically does nothing, because the system will collapse your window for you. Available with Appearance Manager 1.0 and later.
The user has pressed the mouse button while the cursor is in the proxy icon of a window. When FindWindow returns inProxyIcon, your application typically calls the function
When your application receives a mouse-down event, you typically call the function
The FindWindow result code constants are changed with Appearance Manager 1.0 to include the inCollapseBox constant.
With the Mac OS 8.5 Window Manager, the FindWindow function may return the inProxyIcon constant to identify the cursor location at the time the user pressed the mouse button.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)