Hi,
I'm teaching myself Objective C on OSX 10.6, I'm wondering, whats the best way to go full screen (no app bar, no menu bar, etc.)?
(I'd also like to block Expose, Spaces, Cmd+Tab from exiting the application, like in a game)
In the file "TestAppDelegate.m" I set IsWindowZoomed to true, but I've also googled and found other code which involves adding the Carbon framework.
These are the lines for the carbon way:
Even that though doesn't hide the application toolbar I have, and it doesn't cover the entire screen, it leaves out the part with the menu bar (but it's gone).
Can anyone help?
Kind Regards
I'm teaching myself Objective C on OSX 10.6, I'm wondering, whats the best way to go full screen (no app bar, no menu bar, etc.)?
(I'd also like to block Expose, Spaces, Cmd+Tab from exiting the application, like in a game)
In the file "TestAppDelegate.m" I set IsWindowZoomed to true, but I've also googled and found other code which involves adding the Carbon framework.
These are the lines for the carbon way:
Code:
[window setFrame:[[NSScreen mainScreen] visibleFrame] display:YES animate:NO];
SetSystemUIMode(kUIModeAllHidden, kUIOptionAutoShowMenuBar);
Can anyone help?
Kind Regards