Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Keyboard focus in sheets on Utility Windows



My app has a Utility window which can show a sheet. This sheet has an edit text field in it (and an OK and Cancel button).

When my sheet first comes up, I SetKeyboardFocus on the text field. The user can quite happily type into it. If however, the user clicks in another application, the text field still appears focused and the caret still flashes, but all text entry goes into the other app. Clicking back into the text field does not recover the situation. Once it is in this mode, the only way to get the text field to respond again is to close the sheet and reopen it.

Any ideas?

Matt Gough
Softchaos Limited
_______________________________________________
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


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.