How would I create custom scroll bars with cocoa?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Don’t re-invent too much of the wheel if you don’t have to. If you just want to customise the appearance of the scroll bar, it may be easier just to subclass NSScroller and override the various
drawmethods.This is untested code, but it should demonstrate what you would need to do to customise the appearance of the knob if you had your own image
MyKnob.png.