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