• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Posting Keyboard Events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Posting Keyboard Events


  • Subject: Re: Posting Keyboard Events
  • From: Dave DeLong <email@hidden>
  • Date: Sun, 07 Sep 2008 08:34:09 -0600

Not sure if this got through... I was getting "Your message is awaiting moderation messages" even though I'm signed up for the list.

Dave

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

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 (email@hidden)

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:
This email sent to email@hidden


References: 
 >Posting Keyboard Events (From: Dave DeLong <email@hidden>)
 >Re: Posting Keyboard Events (From: Ken Thomases <email@hidden>)
 >Re: Posting Keyboard Events (From: Dave DeLong <email@hidden>)

  • Prev by Date: Re: How to create a GUID?
  • Next by Date: Re: [NEWB] An object, an array item and a string
  • Previous by thread: Re: Posting Keyboard Events
  • Next by thread: Re: Posting Keyboard Events
  • Index(es):
    • Date
    • Thread