Subclass NSSliderCell and override the appropriate methods:

http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/ApplicationKit/Classes/NSSliderCell_Class/Reference/Reference.html

Then change the cell type of you NSSlider to your custom subclass.

Cheers,

Dave

On May 7, 2009, at 11:43 PM, Bright wrote:

> Hi everyone:
>   When I use QTMovie to play movies. I want to custom myself  progress slider 
> instead of the NSSlider.
> How to custom the progress slider?
> thks!
> Bright
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to