Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Mac Programming / October 2007



Tip: Looking for answers? Try searching our database.

System menu about

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Don - 09 Oct 2007 09:13 GMT
Hi,

I made an wx application with a menu item About, which will display an About
dialog.

The problem is : under MacOSX, there's a system default "About..." menu
item.

It makes 2 "About" menu items in the menu, and the system's About does
nothing.

How can I set in Xcode to use the system About menu item to display my About
dialog under MacOSX?

Thank you in advance.

Don
Michael Ash - 09 Oct 2007 11:38 GMT
> Hi,
>
[quoted text clipped - 3 lines]
> The problem is : under MacOSX, there's a system default "About..." menu
> item.

No there isn't. Everything in your menus (which is to say everything in
all of the menus besides the Apple menu) is under your control.

Signature

Michael Ash
Rogue Amoeba Software

Simon Slavin - 11 Oct 2007 20:07 GMT
On 09/10/2007, Don wrote in message
<470b383c$0$2150$426a34cc@news.free.fr>:

> I made an wx application with a menu item About, which will display an
> About  dialog.
>
> The problem is : under MacOSX, there's a system default "About..." menu
> item.

That's fine.  You can still use your own dialog, just use the existing
menu item to display it.

> It makes 2 "About" menu items in the menu, and the system's About does
> nothing.

Don't make your own one, exploit the one already made for you.

> How can I set in Xcode to use the system About menu item to display my
> About  dialog under MacOSX?

I don't know what 'wx' means in this context, but I assume your project
includes .nib files which can be edited using Interface Builder.  So use
Interface Builder and link the 'About' menu item with your own routine.
It's only using the default 'About' routine because you haven't linked it
to anything else.

Simon.
Signature

http://www.hearsay.demon.co.uk

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.