Customizing Horizontal Scrollbar
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