Data entry into CreateEditUnicodeTextControl

I have a text edit control based on CreateEditUnicodeTextControl (). It creates the edit text control just fine and works great with keyboard input. But I have a question regarding loading it with data from a document.

I create the control with a NULL in place of the CFStringRef argument. Then later the control needs to be loaded with a string from a document which the user can edit. After the edits are done the control(s) need to be read and saved back to the document. Then the process repeats, so I can't load data when the control is created.

After searching the ADC documentation I found a function SetEditTextCFString (), but the compiler doesn't seem to have a prototype for this function. I've included carbon.h, but that doesn't seem to be enough.

Can anybody help? I also need to find a function to read the text out of the control.

Hurst C.

Posted on Nov 10, 2005 6:36 PM

Reply
1 reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Data entry into CreateEditUnicodeTextControl

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.