Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Handling *all* mouse activity in a view?




On May 27, 2005, at 5:14 PM, Rick Mann wrote:

I want to do several things, but basically: a) show current drawing coordinates, b) hilite things that are clickable in the current mode

Have your view install a MouseMoved handler on the window that contains it whenever your view gets a kEventControlOwningWindowChanged event (and remove its handler from the old window).


c) handle a tool, which can involve an arbitrary series of clicks, releases, moves, etc.

Not sure exactly what you need here, but probably kEventControlTrack would be appropriate here.


-eric


_______________________________________________ Do not post admin requests to the list. They will be ignored. Carbon-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: Handling *all* mouse activity in a view? (From: Laurence Harris <email@hidden>)
 >Re: Handling *all* mouse activity in a view? (From: Rick Mann <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.