Re: Special handling of keystrokes in a window controller

2008-04-23 Thread Michael Vannorsdel
You can subclass NSWindow for your window and override keyDown:. The ones you want to pass down the chain you send by calling the superclass's keyDown. On Apr 23, 2008, at 9:36 AM, Duncan Champney wrote: I could easily change my zoom in/zoom out keystrokes to be the bracket keys ("[" "]

Special handling of keystrokes in a window controller

2008-04-23 Thread Duncan Champney
My app has a number of input fields that are used to change light settings, camera x/y/z position, etc for a 3D view window. ALL these fields are numeric, and don't need to handle non number characters (they need to handle 0-9, "+", "-", ".", and possibly "E" for scientific notation, althou