I had some offline discussion with Eric around this. The problem was that I
had stopped calling RunApplicationEventLoop() function, which installs an
event handler that calls MenuSelect() in response to clicks on the menu bar.
When I switched to Cocoa, MenuSelect() was not getting called. As a
solu
On Nov 30, 2009, at 5:03 AM, Vikram Sethi wrote:
> Though the menu bar appears and the individual menu items get created and
> get added to the hierarchy (verified it while debugging), the menus do not
> open when I click on the menu bar. The menus are also Carbon based. They are
> defined as a ‘
On Nov 30, 2009, at 7:03 AM, Vikram Sethi wrote:
> - I understand that we should move our menu handling to Cocoa and
> that would resolve the problem. We will do that, however, we plan to
> modernize our app incrementally, taking one step at a time. Is there a low
> cost tweak/hack that w
Hi,
I have a Carbon app that I am moving to Cocoa. In an attempt to do that, I
wrote code similar to this in the main function:
[NSApplication sharedApplication];
…
…
[NSApp run];
All the event handling in currently Carbon based. I was expecting problems
but after the changes, the app launche