Re: NSRulerView Fast Scrolling Issues
Re: NSRulerView Fast Scrolling Issues
- Subject: Re: NSRulerView Fast Scrolling Issues
- From: Alastair Houghton <email@hidden>
- Date: Thu, 3 Jan 2008 18:35:41 +0000
On 3 Jan 2008, at 18:33, David Harper wrote:
That was exactly the assumption that caused the problems in the
first place. The way I corrected it was by comparing the bounds
rectangle of the scroll view's content view before and after the
draw method was called. This gives the correct scroll offset.
Indeed, but you still haven't said what you hope to achieve by
obtaining the scroll offset. It seems likely that there will be
another way to do what you want that doesn't involve such a computation.
Kind regards,
Alastair.
--
http://alastairs-place.net
_______________________________________________
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