• 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: detecting key presses while mouse button is held
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >detecting key presses while mouse button is held (From: fritx <email@hidden>)

  • Prev by Date: Dock items
  • Next by Date: NSURL with a Login/Password
  • Previous by thread: detecting key presses while mouse button is held
  • Next by thread: Re: [OT] Re: Xcode, Panther, ZeroLink and everything
  • Index(es):
    • Date
    • Thread