• 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
Re: mainmenu in nib file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mainmenu in nib file


  • Subject: Re: mainmenu in nib file
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Fri, 22 Oct 2004 02:57:07 +0200

At 18:17 Uhr -0500 21.10.2004, Jacob Chapa wrote:
I am retarded and deleted my mainmenu from my nib file (the one with all the file,edit, etc). But now i need it back because I think the edit menu will pick up keyboard shortcuts ( i want to have a shortcut in my program, but it is only a NSStatusItem running as a LSUIElement and they shortcut wont work unless i have the statusitem selected). I want to have something similar to Konspose (think expose for the program konfabulator)

Thanks for sharing this personal revelation with us.

Now ...

... ummm ...

... what is your *QUESTION*?

If you want to create a new main menu, it usually helps to just create a new NIB file from the provided templates in IB, or if there is none that contains a main menu, you can just create an empty project and copy over its MainMenu.nib and re-add your objects (IB supports a brand-new technology called 'copy and paste').

If you want system-wide shortcuts, you are "on the wooden path", as we Germans say. I think the English expression is "on the wrong track". Look into Carbon HotKeys. There are some nice wrapper classes around those for Cocoa, like CocoaHotKeys3.

If that's not what you wanted, it may help if you didn't assume everybody on this list knew ESP, and instead actually "said" what you "mean".
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
References: 
 >mainmenu in nib file (From: Jacob Chapa <email@hidden>)

  • Prev by Date: Re: Bug in NSArrayController? (immutable instead of mutable dictionaries)
  • Next by Date: NSDocument updateChangeCount doesn't
  • Previous by thread: mainmenu in nib file
  • Next by thread: mixing Cocoa and Carbon
  • Index(es):
    • Date
    • Thread