2008/6/17 Angelo Chen <[EMAIL PROTECTED]>: > Hi, > > I got two questions: > > 1) I have an email address in the code, I'd like to open default mailing > program from the code with the email address as the recipient. > > > 2) I have a NSImageView, when mouse move over it, the cursor should be > changed to a hand, and when it is clicked, it will open a URL in the default > browser.
As for the cursor being changed, take a look at the NSTrackingArea class [1]. It requires Leopard but is indeed much better than the older functionality provided by tracking rect tag (NSTrackingRectTag). [1] http://developer.apple.com/documentation/Cocoa/Reference/NSTrackingArea_class/Reference/Reference.html Regards Mattias _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
