PDA

View Full Version : Carbon and edit text fields


Tobi
2002.06.11, 01:31 PM
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

Tobi
2002.06.14, 01:17 AM
OK, this isn't a problem anymore. I found a way better way to handle my text input.

-Tobi