Re: Problem setting the menu

2008-10-06 Thread Felipe Monteiro de Carvalho
I searched a lot in google and I can only see that the exact method that I tryed (using NSApp.setAppleMenu) works for some people and not for others ... maybe it only works in some Mac OS X versions. I am using Mac OS X 10.4. Also I even tryed NSBundle.loadNibNamed_owner to load a simple nib but i

Re: Problem setting the menu

2008-10-06 Thread Peter Ammon
If you make a new Xcode project with the "Cocoa Application" template, you will get a functioning main menu. You can either base your project off of that, or use it to figure out what differs in your project to prevent the nib in your menu from showing up. If you still can't figure out why

Re: Problem setting the menu

2008-10-06 Thread Felipe Monteiro de Carvalho
Hi, Any idea about how to fix the menu problem would be appreciated. thanks, -- Felipe Monteiro de Carvalho ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the modera

Re: Problem setting the menu

2008-10-05 Thread Felipe Monteiro de Carvalho
Hello, I am still trying to get the application menu to work. I have even tryed to add a very simple nib file to the project. I simply added the nib file to the bundle and set NSMainNibFile, but it doesn't show the applications menu. It doesn't matter if I comment the code which attempts to genera

Re: Problem setting the menu

2008-10-05 Thread Felipe Monteiro de Carvalho
On Mon, Sep 29, 2008 at 5:02 PM, Peter Ammon <[EMAIL PROTECTED]> wrote: > NSMenu needs a minimal nib to properly set up the application menu. You can > construct your other menus programmatically however. Well, that's not completely true. The developers of the following code claim that it creates

Re: Problem setting the menu

2008-09-29 Thread Peter Ammon
On Sep 28, 2008, at 4:15 PM, Felipe Monteiro de Carvalho wrote: Hello, I am having problems setting a menu for my application. I am writting the application in Object Pascal and I am not using nib files, because the point is being able to use this to port cross-platform GUI libraries. NSMenu