receiving key equivalent events
receiving key equivalent events
- Subject: receiving key equivalent events
- From: Chuck Soper <email@hidden>
- Date: Sat, 12 Jun 2004 12:20:47 -0700
Hello,
I have an inspector window similar to the one in Interface Builder
(IB). It's a NSPopUpButton menu with command key equivalents of 1, 2,
3, and so on. My inspector window only responds to command key
equivalents when it is front most (this makes sense to me).
Using command key equivalents, how can I change the current menu item
of inspector window's NSPopUpButton menu when when another window in
front most? The other window is an NSWindowController subclass. I
think that this is a very straightforward question, but I haven't
been able to find the answer. I think that I have to catch the event
in my window controller or perhaps my application delegate then send
a message to the inspector window to select new item in its
NSPopUpButton menu. Any ideas?
Thanks,
Chuck
_______________________________________________
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.