• 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: WM_KEYDOWN
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WM_KEYDOWN


  • Subject: Re: WM_KEYDOWN
  • From: Chris Hanson <email@hidden>
  • Date: Wed, 11 Apr 2007 11:13:53 -0700

On Apr 11, 2007, at 2:06 AM, xcocoa wrote:

I am looking for a way to get a simply MS Windows WM_KEYDOWN alike message (notification) when using a NSTextField.

If you're trying to perform input validation or constrain input, use an NSFormatter instance for that. Processing individual keystrokes won't get you the correct result in all the situations where a formatter will.


In general, please don't ask "How do I <non-Mac platform-specific terminology>?" Instead, describe the goal you're trying to achieve. Not all of the developers on the list who may be able to help you achieve your goals will understand some other platform's terminology or API.

  -- Chris

PS - Your signature was unfinished in your last post. How should we address you?

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


  • Follow-Ups:
    • Re: WM_KEYDOWN
      • From: xcocoa <email@hidden>
References: 
 >WM_KEYDOWN (From: xcocoa <email@hidden>)

  • Prev by Date: Re: WM_KEYDOWN
  • Next by Date: [Moderator] List guidelines and related resources
  • Previous by thread: Re: WM_KEYDOWN
  • Next by thread: Re: WM_KEYDOWN
  • Index(es):
    • Date
    • Thread