Re: NSApplicationMain question
Re: NSApplicationMain question
- Subject: Re: NSApplicationMain question
- From: Jack Nutting <email@hidden>
- Date: Mon, 26 Apr 2010 16:04:48 +0200
On Mon, Apr 26, 2010 at 3:56 PM, Bill Appleton
<email@hidden> wrote:
> it needs to look like a scroll bar... is that possible?
>
Ah, no. Of course not, silly me.
I worked on a project years ago that had a similar requirement. It
used a subclass of NSScrollView, I think, that managed to ignore what
the sliders were telling it do directly, and instead passed something
on to the underlying engine, which manually did the sliding. It was a
horrible mess, and I hope you can avoid that approach. Try the
NSScroller approach if there's no way to squeeze your view
architecture into a proper scrollable Cocoa view.
--
// jack
// http://nuthole.com
// http://learncocoa.org
_______________________________________________
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