| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On 25 Jan 2005, at 23:26, Laurence Harris wrote:
Ok, thanks guys. As you can tell I haven't used it yet, so was asking questions first. Thanks.On 1/25/05 6:06 PM, Graham MacDonald didst favor us with:
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?
As Bryan says, the little arrows control doesn't display any numbers at all,
which you will see if you create one in IB. The only control I know that
displays values is the date/time control.
Really, this isn't that complicated. However, I don't know if the little
arrows control actually supports 32-bit values or just 16-bit values these
days.
_______________________________________________ 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
| References: | |
| >Re: CreateLittleArrowsControl (From: Laurence Harris <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.