Yes, thank you for asking.

This code is in an IBOutlet for a simple controller object. The controller has an outlet for the window and a textfield. The first thing fun on this outlet is the following:
        [window makeFirstResponder:textField];

And that does work, because the NSTextField is getting the focus and blinking cursor, etc.

Dave

On 5 Sep, 2008, at 8:56 PM, Ken Thomases wrote:

On Sep 5, 2008, at 9:15 PM, Dave DeLong wrote:

How on earth can I post system keyboard events (without getting a beep)?

You know, there are plenty of occasions when typing a letter causes a beep. In particular, if there's no responder which is ready to accept keyboard input. Is there a text view with focus at the time you're posting the event?

Cheers,
Ken


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to