• 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 scroller:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Customizing horizontal scroller:


  • Subject: Customizing horizontal scroller:
  • From: Shashidhar Shenoy <email@hidden>
  • Date: Thu, 29 Nov 2007 20:42:52 +0530


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 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: NSTableView - Leopard - Tooltips
  • Next by Date: Re: Tiger problem after modifying managed object model at runtime
  • Previous by thread: Re: Tiger problem after modifying managed object model at runtime
  • Next by thread: Is there any compression library for Cocoa?
  • Index(es):
    • Date
    • Thread