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

    #1
    Hello,
    I am trying to make a window go full screen. Here is my code:
    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

    HiRez

    #2

Share This Page