Re: NSApplicationMain question
Re: NSApplicationMain question
- Subject: Re: NSApplicationMain question
- From: Graham Cox <email@hidden>
- Date: Tue, 27 Apr 2010 00:00:20 +1000
On 26/04/2010, at 11:51 PM, Bill Appleton wrote:
> in other words all the shared code for imaging the offset page is common, i
> need a scroll bar that behaves like a puppet & DOES nothing
NSScroller is just a control, it does nothing except tell you its value. While the HIG advises against it, it can be used in place of a slider or similar.
If you are using it to scroll a view though, it's much easier to use NSScrollView which owns two scrollbars and handles the positioning for you. Scrolling is generally much easier to deal with in Cocoa than in Carbon.
--Graham
_______________________________________________
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