Version 1.1, 2011-03-18
Updated for Mac OS X 10.6, now builds 3-way Universal (ppc, i386, x86_64)
(Full Revision History)
Mac OS X 10.6.x or later.
Mac OS X 10.5.x or later.
This sample demonstrates how to use the NSTrackingArea class. An NSTrackingArea object defines a region of an NSView that generates mouse-tracking and cursor-update events when the mouse is over that region and when the mouse leaves that region.