• 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: Murat Konar <email@hidden>
  • Date: Wed, 11 Apr 2007 10:59:14 -0700


On Apr 11, 2007, at 10:18 AM, xcocoa wrote:

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 ?

You really need to explain (in some detail) what you're trying to do if you want useful advice. As several other have been hinting, it seems like you're headed down the wrong path...


For example, are you trying to filter out certain keys? Are you trying to implement hotkeys? Are you logging keypresses? What?

_murat_______________________________________________

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

  • Prev by Date: Re: Tooltip font size again ...
  • Next by Date: Re: Tooltip font size again ...
  • Previous by thread: Re: WM_KEYDOWN
  • Next by thread: Re: WM_KEYDOWN
  • Index(es):
    • Date
    • Thread