Re: Changing the Appearance of NSScroller
Re: Changing the Appearance of NSScroller
- Subject: Re: Changing the Appearance of NSScroller
- From: John Randolph <email@hidden>
- Date: Thu, 18 Dec 2003 15:50:51 -0800
On Nov 26, 2003, at 12:35 PM, Josh Ferguson wrote:
I'm trying to change the scrollbars of a NSScrollView to appear
transparent when disabled. I know that I need to subclass NSScroller
to do this, but I'm at a loss as to what methods need to be
overridden. Am I better off just hiding the scroll bars and drawing a
static image in its place (since it's only effective when the bars are
disabled), instead of subclassing NSScroller? Any help would be
greatly appreciated.
The docs on NSScroller are pretty detailed on this.
I think -drawParts and -drawArrow:highlight: are what you want to
override.
-jcr
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.