Customizing horizontal scroller:

  • 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.s...>

    -----------------------------------------------
    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.
previous month november 2007 next month
MTWTFSS
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    
Go to today