• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Scrolling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Scrolling [SOLVED]
      • From: David Blanton <email@hidden>
References: 
 >Scrolling (From: David Blanton <email@hidden>)

  • Prev by Date: How can I populate certain table-columns with image cells while using NSArrayController?
  • Next by Date: Changing TextEditField to StaticTextField
  • Previous by thread: Scrolling
  • Next by thread: Re: Scrolling [SOLVED]
  • Index(es):
    • Date
    • Thread