Mailing Lists: Apple Mailing Lists

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

List button height



When I call:

buttonInfo.state = IsControlActive (theControl) ? kThemeStateActive :
kThemeStateInactive;

buttonInfo.value = kThemeButtonOff;
buttonInfo.adornment = kThemeAdornmentDefault;
DrawThemeButton (&controlBounds, kThemeListHeaderButton, &buttonInfo,
&buttonInfo, nil, nil, nil);

How can I know what the real height will be? It does not fill the full
height of the rectangle. I want to be sure that if the OS changes the height
in the future, my code will not break.

Thanks,

Trygve
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.

References: 
 >Custom Calendar Control? (From: Trygve Inda <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.