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?
_______________________________________________
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