On Aug 20, 2008, at 10:01 AM, Ruotger Skupin wrote:
is there a way to get mouseMoved events in a view without it being the focused view (and without getting the focus, of course)?


Yes, have a look at the tracking area options (tracking areas are new in 10.5)

http://developer.apple.com/documentation/Cocoa/Reference/NSTrackingArea_class/Reference/Reference.html#/ /apple_ref/c/tag/NSTrackingAreaOptions

more specifically NSTrackingActiveWhenFirstResponder, NSTrackingActiveInKeyWindow, NSTrackingActiveInActiveApp and NSTrackingActiveAlways.

Not sure how to accomplish this on previous OS versions.

Regards
Markus
--
__________________________________________
Markus Spoettl

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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]

Reply via email to