| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Hi,
I'm creating a static text control who's text is known only at runtime.
I tried to use GetBestControlRect to figure the width of the control, but it's not working.
I create the static text control with a certain string and an initial rect, Set the ID, set the size tag, and then call GetBestControlID with a zeroed rect. I always get the current control's rect.
Am I doing something wrong or is this a bug?
Thanx
Yaron Tadmor
_______________________________________________ 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
| 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.