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: Mouse wheel scrolling in X and Y at the same time?





is it possible to detect mouse wheel scrolling in both the X and Y directions simultaneously? I'm guessing the answer is no.
All examples I've seen (using the Carbon event kEventMouseWheelMoved)
Look at the newer kEventMouseScroll event. It can handle both at the same time.
Thanks, Steve. Interesting, but only available in 10.5. We're compiling in 10.4, so it's not available to us yet.

According to this:

 *  Availability:
 *    Mac OS X:         in version 10.4 and later in Carbon.framework
 *    CarbonLib:        not available
 */
enum {
  kEventMouseScroll             = 11
};

and this:
http://developer.apple.com/qa/qa2005/qa1453.html

this event is actually available in 10.4. Just define it yourself if
you use 10.4 SDK that lacks it for some reason.


Cool! Thanks, Mike! -Howard


_______________________________________________ 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: Mouse wheel scrolling in X and Y at the same time? (From: "Mike Kluev" <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.