Updating the Cursor Image in a Window
You can change the cursor image when the cursor is within a specified area of a view in a window. To do this, use the
NSTrackingArea class, along with the
cursorUpdate: method of the
NSResponder class. For specifics, read “Using Tracking-Area Objects” in Cocoa Event Handling Guide.
For details on the
NSTrackingArea class itself, refer to NSTrackingArea Class Reference.