On 14 Apr 2008, at 02:12, Chris Hanson wrote:
On Apr 13, 2008, at 3:13 PM, [EMAIL PROTECTED] wrote:I believe this is a typo in the documentation. The method you want to override is actually spelled -drawArrow:highlightParts:In <http://www.cocoabuilder.com/archive/message/cocoa/ 2008/1/26/197320>, Troy Stephens responds to Michael Watson's mention of that method with:That method isn't part of NSScroller's published API (note its absencefrom NSScroller.h). Therefore it's subject to disappearing without warning in a future release, and you should avoid any reliance on it in your code.Don't rely on anything that isn't API. If there's something you can't do within the API, please file a bug at <http://bugreport.apple.com/ > and describe what you're trying to create.-- Chris
Hi Guys,Thanks ever so much for your responses on this, I appreciate it. Can I clarify then?
Clearly using undocumented API is a bad road to start on so - drawArrow:highlightParts: is out of the question. So if I override - drawRect: (so obvious that I forgot about it), draw the arrows and then call -drawKnob etc. I'm then going along the right lines?
Any ideas why passing slimmer frames to -initWithFrame: has no effect on the initial scroller width?
Jon
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [EMAIL PROTECTED]
