Re: WM_KEYDOWN
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