• 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: xcocoa <email@hidden>
  • Date: Wed, 11 Apr 2007 19:18:01 +0200

John,

You might look into
- (void)controlTextDidChange:(NSNotification *)aNotification

I bet this will handle whatever you need. I use this for a text field that contains a product registration number—we want to make the formatting match the label on the CD case. So after every keystroke I filter out bogus characters and add in hyphens where needed.

Where do you get the keystroke from ?

I really appreciate if you could post a small code sample

thanks,


_______________________________________________

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: Murat Konar <email@hidden>
    • Re: WM_KEYDOWN
      • From: John Stiles <email@hidden>
References: 
 >WM_KEYDOWN (From: xcocoa <email@hidden>)
 >Re: WM_KEYDOWN (From: Uli Kusterer <email@hidden>)
 >Re: WM_KEYDOWN (From: John Stiles <email@hidden>)

  • Prev by Date: Re: elegant sheet cascade handling?
  • Next by Date: Re: Bindings delay issues
  • Previous by thread: Re: WM_KEYDOWN
  • Next by thread: Re: WM_KEYDOWN
  • Index(es):
    • Date
    • Thread