• 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
NSScroller drawParts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSScroller drawParts


  • Subject: NSScroller drawParts
  • From: Benjámin Salánki <email@hidden>
  • Date: Fri, 29 Sep 2006 22:48:56 +0200

Hello dear list,

I am trying to implement my subclass of NSScroller and want to use customized scroller parts, but the docs are no good. According to the docs I need to subclass drawParts

drawParts
Caches images for the scroll buttons and knob.

- (void)drawParts

Discussion
It’s invoked only once when the NSScroller is created. You may want to override this method if you alter the look of the NSScroller, but you should never invoke it directly.


but this does me no good, for the following reasons:

a) my drawParts method never gets called. Any idea why?

b) i have no idea what to do in this method. Are there some default variables that i can override to use my own images?

Google was no help on this and the archives only have one message concerning this subject, and that is everything but clear.



Any help is greatly appreciated.

Ben _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Strange issue with NSSplitView and NSTableView (bug ?)
  • Next by Date: Re: Removed view still getting events (Solved?)
  • Previous by thread: Re: Strange issue with NSSplitView and NSTableView (bug ?)
  • Next by thread: RE:NSScroller drawParts
  • Index(es):
    • Date
    • Thread