Carbon and edit text fields - Printable Version
+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Game Programming Fundamentals (/forum-7.html)
+--- Thread: Carbon and edit text fields (/thread-7706.html)
Carbon and edit text fields - Tobi - Jun 11, 2002 10:31 AM
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!
Carbon and edit text fields - Tobi - Jun 13, 2002 10:17 PM
OK, this isn't a problem anymore. I found a way better way to handle my text input.