Re: detecting key presses while mouse button is held
Re: detecting key presses while mouse button is held
- Subject: Re: detecting key presses while mouse button is held
- From: Gerard Iglesias <email@hidden>
- Date: Mon, 14 Jul 2003 19:31:04 +0200
In fact even if you capture event while handling the mouseDown: message
I think that if you put in the event mask KeyDownMask then you will get
keyDown event.
Gerard
On Monday, July 14, 2003, at 4:05 PM, fritx wrote:
Hello
What is the best way to detect a key press (not modifier) while the
mouse button is held down? I've tried overriding sendEvent in
NSApplication subclass and doing it in firrst responder but had no
joy. Any other ideas?
Thanks
fritx
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.