Carbon and edit text fields
I got a strange problem related to the Carbon Event Manager:
I'm building an application with MPW using CarbonLib and the Carbon Event Manager. The controls for the interface are stored as 'CNTL's in the resource fork and are loaded and attached to the window correctly. One of the controls is an editable text field (DefPoc 272).
In OS X you can select the field's contents, enter text into it and so on. But on Classic, I can only select it's contents and not enter text.
I have called InstallStandardEventHandler() for the control but cannot enter text. What is to do?
Attach a text-edit context or something? I'm not used to the Carbon Event manager yet.
Thanks for your help!
-Tobi
I'm building an application with MPW using CarbonLib and the Carbon Event Manager. The controls for the interface are stored as 'CNTL's in the resource fork and are loaded and attached to the window correctly. One of the controls is an editable text field (DefPoc 272).
In OS X you can select the field's contents, enter text into it and so on. But on Classic, I can only select it's contents and not enter text.
I have called InstallStandardEventHandler() for the control but cannot enter text. What is to do?
Attach a text-edit context or something? I'm not used to the Carbon Event manager yet.
Thanks for your help!
-Tobi
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Signed distance fields | imikedaman | 16 | 8,399 |
Jul 20, 2007 07:13 PM Last Post: imikedaman |
|
| Carbon - Reading / Writing Text Files | dave05 | 10 | 4,034 |
Aug 1, 2006 05:42 PM Last Post: dave05 |
|
| Handling a return or enter key event on an edit text control | monteboyd | 7 | 4,991 |
Nov 7, 2005 03:29 PM Last Post: monteboyd |
|
| Getting text from a window text field | mars | 7 | 4,358 |
Mar 26, 2005 06:06 PM Last Post: OneSadCookie |
|

