Re: Detecting Keydowns
Re: Detecting Keydowns
- Subject: Re: Detecting Keydowns
- From: Enrique Zamudio Lopez <email@hidden>
- Date: Thu, 14 Jun 2001 01:14:55 -0500
If you want to detect the state of Control, Option and Command keys (I
think Shift is also available), you have to read the modifier flags on a
key event. You can usually override -keyDown: in your NSView subclass and
check on the modifier flags.
Enrique Zamudio Lopez
Chief Software Architect
North American Software
email@hidden
http://www.nasoft.com.mx/