• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
receiving key equivalent events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: receiving key equivalent events
      • From: Chuck Soper <email@hidden>
  • Prev by Date: bindings when used with external datasources?
  • Next by Date: Re: bindings when used with external datasources?
  • Previous by thread: Re: bindings when used with external datasources?
  • Next by thread: Re: receiving key equivalent events
  • Index(es):
    • Date
    • Thread