On Jan 25, 2005, at 5:06 PM, Graham MacDonald wrote:
On 25 Jan 2005, at 07:13, Laurence Harris wrote:
On 1/25/05 1:47 AM, Graham MacDonald didst favor us with:
Hi, I'm using Carbon in a C/C++ app. I want to create a
spinner/littleArrowsControl for floating point values. The current
API
only allows me to create CreateLittleArrowsControl which is for
integers. The Cocoa API seems to allow doubles also. What's the
easiest way for me to create a decimal version? Is there even an
easy
way? Thanks!
Nothing fancy here. You just have to scale the values when you
interpret
them.
In that case they'd still be displayed in the control as integers - I
need to display floats. Is there any way to do that?
Not only does it not display floats, it doesn't display integers
either. The little arrows control doesn't display anything at all other
than arrows. Just use a unciode edit text control for that.
Bryan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden