On 11/28/04 5:13 AM, Jan Brittenson didst favor us with:
> 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);
You can make it a little simpler:
CFStringRef cfstr;
GetControlData(cref, kControlEditTextPart, kControlEditTextCFStringTag,
sizeof cfstr, (void*)&cfstr, NULL);
since you don't need the size.
Larry
_______________________________________________
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