Op 15-sep-2005, om 2:36 heeft Geoff Norton het volgende geschreven:
The subject is pretty self-explanatory. I'm looking for (to no
avail) a way to programatically change the application title as
shown in the menu bar. Anyone come across this before or have a
solution?
This came up in comp.sys.mac.programmer.help a while ago:
It seems the only thing you can do is to change the Info.plist in main
(), before you call NSApplicationMain(). It is dirty, but it works.
The application name in Cocoa is not changeable once it has been set
(at least I haven't found a way). You can't just change the title of
the menu item. If you want this functionality, maybe [NSApplication
setDisplayedName:] or something similar, file an enhancement request.
patrick
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden