• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Changing the Appearance of NSScroller
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Controller Layer and NSOutlineView
  • Next by Date: Re: No Application Menus when launching from Xcode
  • Previous by thread: Re: Controller Layer and NSOutlineView
  • Next by thread: What's new
  • Index(es):
    • Date
    • Thread