Re: NSMenuDelegate - menuNeedsUpdate:(NSMenu *): can I get key(s) pressed?

2014-10-28 Thread Jerry Krinock
> On 2014 Oct 27, at 20:14, Jim Prouty wrote: > > Is there code I can write to get the key(s) pressed during NSMenuDelegate's > menuNeedsUpdate:nsmenu method? Maybe override both -keyDown: and -keyUp: somewhere in your responder chain, and keep track of which key is currently down with your o

NSMenuDelegate - menuNeedsUpdate:(NSMenu *): can I get key(s) pressed?

2014-10-27 Thread Jim Prouty
QUESTION: Is there code I can write to get the key(s) pressed during NSMenuDelegate's menuNeedsUpdate:nsmenu method? Not modifiers, which can be directly queried, but key(s). Specifically, I want to test whether any of the Function keys F1, F2, etc are down, *during* menuNeedsUpdate, though it