Re: Scrolling
Re: Scrolling
- Subject: Re: Scrolling
- From: David Blanton <email@hidden>
- Date: Fri, 15 Jan 2010 10:57:53 -0700
Answered my own question .. trackKnob
I knew this but its behavior was not understood ergo the question.
What would code tracking the knob look like? I want something like
(but what would mouseStilldown be?)
- (void)trackKnob:(NSEvent *)theEvent {
while(mouseStillDown)
{
[super trackKnob];
// do something with _curValue
}
do something no that mouse is released
}
Has anyone done something like this?
-db
On Jan 15, 2010, at 9:42 AM, David Blanton wrote:
A custom view sub-classed from NSView when embedded in an
NSScrollView has its drawRect method called when the NSScrollers are
manipulated by the user.
Is there a method further up the (NSResponder?) chain where scoll
activity can be overridden? And if so, is there an example or sample
to which I can be referred?
-db
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden
References: | |
| >Scrolling (From: David Blanton <email@hidden>) |