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: mini slider with CreateSliderControl?



It works... 

Thanks Jerry

Nuno

-----Original Message-----
From: carbon-dev-bounces+nfonseca=email@hidden
[mailto:carbon-dev-bounces+nfonseca=email@hidden] On
Behalf Of Jerry
Sent: quinta-feira, 31 de Março de 2005 9:04
To: Carbon Development
Subject: Re: mini slider with CreateSliderControl?

On Mar 30, 2005, at 12:08 PM, Nuno Fonseca wrote:

> I need to use CreateSliderControl to create a new mini slider (I can't 
> use
> Interface Builder).
>
> The problem is that, no matter how I size it, it always stays with the
> normal height, and I need it as a mini slider (10px height).
>
> What do I need to do?

You need to call SetControlData with kControlSizeTag and 
kControlSizeSmall/Mini. You should also use GetThemeMetric to find out 
the proper size to make the control before you create it.

Jerry

 _______________________________________________
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@hiddenria.p
t

This email sent to email@hidden

 _______________________________________________
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: mini slider with CreateSliderControl? (From: Jerry <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.