Customizing Horizontal Scrollbar

  • Hi All,

    I have a requirement to implement a custom 'horizontal' scroller
    similar to the one you find in iTunes.

    The implementation scheme that I have followed has an outlet  of
    NSScrollView in the NIb.  The horizontal scroller has been customized
    by passing a custom object which is a  sub-class of NSScroller to
    its setHorizontalScroller: method .  I have overridden  - (void)
    drawParts and - (void)drawKnob methods. But strangely, none of these
    methods are getting called.

    However , when the same custom scroller object is passedt to the
    setVerticalScroller:, it works.

    The issue is discussed in some of the earlier posts of Cocoa-dev
    mailing list. However they have
    not reached any conclusion.

    I have listed them below for your reference:

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

    Can you please provide your inputs on this? Do we need to do
    something more to customize a horizontal scrollbar?

    Thanks in advance.
    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 december 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
31            
Go to today