Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CreateLittleArrowsControl




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?

_______________________________________________
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

This email sent to email@hidden
References: 
 >Re: CreateLittleArrowsControl (From: Laurence Harris <email@hidden>)



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.