Re: how to correctly set knob/thumb proportion and scroller orientation in NSScroller

2008-07-24 Thread Rua Haszard Morris
Aha, that makes sense, pity it's not in the documentation I was referring to: http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSScroller_Class/Reference/Reference.html#/ /apple_ref/doc/uid/2340-1956 I'll fill in the feedback. (alas, I'll have to have a

how to correctly set knob/thumb proportion and scroller orientation in NSScroller

2008-07-23 Thread Rua Haszard Morris
I'm implementing a scrollable pane and have come across to slightly weird issues with NSScroller, leading to me wondering whether I'm going about this the wrong way... 1. The thumb proportion can only be set by setFloatValue:knobProportion: method which is deprecated in 10.5. Is there

Re: how to correctly set knob/thumb proportion and scroller orientation in NSScroller

2008-07-23 Thread Graham Cox
There is, in 10.5, setKnobProportion: to make up for the deprecated method. Is there some reason why you just don't embed a view inside an NSScrollView? It's much easier than trying to fiddle about with scrollbars yourself. Graham On 24 Jul 2008, at 2:15 pm, Rua Haszard Morris

Re: how to correctly set knob/thumb proportion and scroller orientation in NSScroller

2008-07-23 Thread San Saeteurn
Hello, I want to write a simple program that can take Chinese characters and convert them into their pinyin equivalence. Since Mac OS X has a way of converting pinyin into Chinese characters, I am wondering if there is some sort of Cocoa interface that can allow me to access this functionality