Re: NSScrollView notification
Re: NSScrollView notification
- Subject: Re: NSScrollView notification
- From: Uli Kusterer <email@hidden>
- Date: Mon, 27 Aug 2007 20:36:24 +0200
On 24.08.2007, at 17:50, Alexander Cohen wrote:
Does the NSScrollView send any notification of anything of the sort
when it starts scrolling and when it ends?
I have a view in a scrollview that needs to do something special
when its scrollview has stopped scrolling. how can i accomplish this?
There's been some postings on this list about how to do a "gutter
view" showing line numbers, and there's a page on that topic at the
http://www.cocoadev.com Wiki. You may wanna look there. Essentially,
they install an event listening to the enclosingScrollView's
NSClipView, after telling it to send these notifications.
You may also want to look into NSRulerView and the likes, in many
cases that makes for a cleaner design, and avoids a proliferation of
notifications.
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
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