You want to subclass NSWindow and override -sendEvent:, which will let
you get at the keyboard events before the rest of the standard event
handling stuff gets at it. You will use your subclass of NSWindow for
your windows.
Alternately you could subclass NSApp and override -sendEvent: there
Andy Bell wrote:
I am working on a project which is an Agent and just has a couple on
Windows
and a menu bar icon. The menu bar icon has a menu which is used to
call up
the two windows. Now I want to add 'Command-V' so that I can paste
into the
NSTextFields in this window, as I don't have