Mailing Lists: Apple Mailing Lists

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

Handling *all* mouse activity in a view?



I'm using PPx to build a CAD application. In my main view, which is basically an HIView (if I understand PPx correctly), I want to handle *all* mouse activity: movement, mouse down, mouse up, etc.

I've installed handlers for HitTest and Track, but those only get called on mouse down. What about when the mouse enters or leaves?

And, although it's not necessary now, is there a way to do this without calling the blocking mouse tracking functions? I don't want to block other processing in the rest of my app (there isn't any now, but there might be; are timers fired from a different thread?). I'd rather just get the various mouse events and maintain state appropriately.

Also, I don't want to install low-level event handlers that take over the window; I just want them on my view.

Is this just the wrong way to go about it? If so, what's the "right" way?

Muchas TIAs...

--
Rick

_______________________________________________
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


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.