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: Receiving NSScrollWheel events in a view




On 31 Jul 2005, at 01:16, glenn andreas wrote:


On Jul 30, 2005, at 7:09 PM, Jonathan del Strother wrote:


I'd like to know when the mousewheel is used over my custom NSView, but the wheel doesn't appear to generate either mouseDown or mouseMoved events...so how do I detect it?


See NSResponder's scrollWheel: method.



Ahhhh. I was originally looking for a mouseWheel: event, then when I couldn't find that, decided it must count as a movement or click somehow.

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

This email sent to email@hidden
References: 
 >Receiving NSScrollWheel events in a view (From: Jonathan del Strother <email@hidden>)
 >Re: Receiving NSScrollWheel events in a view (From: glenn andreas <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.