1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

Making a Window Full Screen

Discussion in 'Mac Programming' started by Blakeasd, Nov 14, 2010.

  1. macrumors 6502a

    I am trying to make a window go full screen. Here is my code:
    [window setFrame:[[NSScreen mainScreen]visibleFrame]display:YES animate:YES];
    	SetSystemUIMode(kUIModeAllHidden, kUIOptionAutoShowMenuBar);
    This makes the window fit the screen but I can still move the window around. Does anyone know what I am doing wrong.
  2. macrumors 601



Share This Page