Can't get menu bars to work.
Hey guys,
I'm having problems adding a menu bar to my carbon app. I can set the menu bar successfully from a nib but my problem is that when I click on the items I don't get any dialog to pull down. Its like the bar wasn't even there.
I guess that I'm missing to install some sort of handler, but so far I haven't had any lucky figuring out which one it is. I've noticed that if I call RunApplicationEventLoop() the menu bar works okay, the thing is I have my own loop so calling that function is not an option. I've tried stepping into that function to see what it's doing that I don't, but apparently you cannot step into that code. Any comments or pointers to documentation will be appreciated.
Thanks!
Nicolas.
I'm having problems adding a menu bar to my carbon app. I can set the menu bar successfully from a nib but my problem is that when I click on the items I don't get any dialog to pull down. Its like the bar wasn't even there.
I guess that I'm missing to install some sort of handler, but so far I haven't had any lucky figuring out which one it is. I've noticed that if I call RunApplicationEventLoop() the menu bar works okay, the thing is I have my own loop so calling that function is not an option. I've tried stepping into that function to see what it's doing that I don't, but apparently you cannot step into that code. Any comments or pointers to documentation will be appreciated.
Thanks!
Nicolas.
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| SDL and menu bar on OS X | A_SN_ | 9 | 8,258 |
Feb 7, 2012 11:51 AM Last Post: trailmix |
|
| GLUT apple menu close application | Rasterman | 31 | 14,306 |
Aug 15, 2007 04:48 PM Last Post: AnotherJake |
|
| OpenGL Menu engine? | BinarySpike | 4 | 6,858 |
Jun 11, 2007 09:43 PM Last Post: JeroMiya |
|
| Remove the File Menu from app | guvidu | 2 | 3,137 |
Mar 23, 2007 12:43 PM Last Post: PowerMacX |
|
| Enabling the "quit" menu function in an SDL program | ferum | 2 | 3,707 |
Sep 10, 2006 02:35 PM Last Post: PowerMacX |
|

