-(BOOL)handleEvent:(NSEvent*)event client:(id)sender doesn't work
-(BOOL)handleEvent:(NSEvent*)event client:(id)sender doesn't work
- Subject: -(BOOL)handleEvent:(NSEvent*)event client:(id)sender doesn't work
- From: BirdSong <email@hidden>
- Date: Wed, 19 Nov 2008 16:07:58 +0000
- Importance: Normal
Hi all,As the documents said, there are three ways to receive input from the client.one of them is keybinding(-(BOOL)inputText:(NSString*)string client:(id)sender;) which works in the sample code.another is -(BOOL) handleEvent:(NSEvent*)event client:(id)sender;I tried to use this one instead of the keybinding in the sample code, but seems it doesn't work and doesnt get any events...Does anyone know how to work it out? It's really wired...
_________________________________________________________________
超炫人气榜给您所有偶像的最新资讯和排名,快来支持自己的偶像!
http://cnweb.search.live.com/xrank/results.aspx?q=周杰伦&FORM=MSNH
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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