[Mono-osx] Winforms app under Mac OS X: change menu name

Lee V. Andrus landrus2 at by-rite.net
Mon Nov 9 16:57:45 EST 2009


The MonoDevelop for Mac Preview seems to have done the trick and more:
http://go-mono.com/forums/#nabble-to23418439%7Ca23418568
http://go-mono.com/forums/#nabble-to23418439%7Ca23418568 
I am not sure how.  There is a mention that the Mac-friendly features
involve a lot of PInvokes of Carbon functions.

When I tried to do something similar with Cocoa via MCocoa & MObjc there
seemed to be no connection between the menu displayed and the mainMenu
property of the NSApplication object.  It was nil initially.  When I tried
to create a menu and set this property to it, there was no change in the
displayed menu.


Andrew Brehm wrote:
> 
> Is it possible for a Winforms app to rename the top screen menu in Mac
> OS X to something other than Mono?
> 
> The menu doesn't have to work, it should just show the correct app
> name. It would be great if the "Quit" menu item could be made to work
> for the app though.
> 

-- 
View this message in context: http://old.nabble.com/Winforms-app-under-Mac-OS-X%3A-change-menu-name-tp26180497p26274434.html
Sent from the Mono - OSX mailing list archive at Nabble.com.



More information about the Mono-osx mailing list