• 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
Customizing Horizontal Scrollbar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Customizing Horizontal Scrollbar


  • Subject: Customizing Horizontal Scrollbar
  • From: Shashidhar Shenoy <email@hidden>
  • Date: Fri, 14 Dec 2007 15:04:53 +0530

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 email@hidden





-----------------------------------------------
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.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Efficient hierarchical menu from path?
  • Next by Date: [Worked around] Re: [NSImage initWithData]: Memory leak. Bug in code or in Framework?
  • Previous by thread: Re: December Developer Documentation Update Now Posted
  • Next by thread: Xcode cocoa project with c++
  • Index(es):
    • Date
    • Thread