| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On 28 Nov 2004, at 10:13, Jan Brittenson wrote:
Don't forget that you need to release srtrings obtained this way, even though they are obtained via a get.Frederick Cheung wrote:
If you just want a little text field you should probably be using the Unicode edit text control (available since 10.0)
Oooh. And it's just a checkbox in IB to make one of those instead a plain
MacRoman one. Not only that, but my fields are already checked. :) The
following in fact works like a charm:
Size size; CFStringRef cfstr; GetControlData(cref, kControlEditTextPart, kControlEditTextCFStringTag, sizeof cfstr, (void*)&cfstr, &size);
On the other side, SetControlData with the same part+tag works also. I wish
all problems were this easy!!!
_______________________________________________ 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: | |
| >HITextView vs naked TXNObject (From: Jan Brittenson <email@hidden>) | |
| >Re: HITextView vs naked TXNObject (From: Frederick Cheung <email@hidden>) | |
| >Re: HITextView vs naked TXNObject (From: Jan Brittenson <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.