Skip navigation.
 
mlCustomizing horizontal scroller:
FROM : Shashidhar Shenoy
DATE : Thu Nov 29 16:12:52 2007

Customizing horizontal scroller:

I need to implement a custom "horizontal scroller" similar to the one 
in "iTunes".
I have an outlet to my  NSScrollview in the nib .  I have then sub-
classed NSScroller and set the scrollview's horizontal scroller to 
this custom scroller using setHorizontalScroller: method. But my 
scroller knob remains unchanged.

The strange thing that  I have  observed is if I set the same custom 
scroller object to setVerticalScroller: it calls the drawKnob method 
but when I set it to horizontal scroller it does nothing. I do this 
in awakeFromNib method in my controller class.


I have overridden  - (void)drawParts and - (void)drawKnob methods and 
none of these are getting called.

I have referred to the earlier posts of apple mailing list , but 
couldn't find any solution to my problem.

Following are the links that I had encountered :

http://lists.apple.com/archives/cocoa-dev/2007/Nov/msg00090.html
http://lists.apple.com/archives/cocoa-dev/2006/Dec/msg00680.html

Have I missed anything out here?

Thanks in advance.


Thanks and Reagards
Shashidhara Shenoy
sasidhar.<email_removed>





-----------------------------------------------
Robosoft Technologies - Come home to Technology

Disclaimer: This email may contain confidential material. If you were not an intended recipient, please notify the sender and delete all copies. Emails to and from our network may be logged and monitored. This email and its attachments are scanned for virus by our scanners and are believed to be safe. However, no warranty is given that this email is free of malicious content or virus.

Related mailsAuthorDate
No related mails found.