Making a Window Full Screen

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

  1. macrumors 6502a

    Joined:
    Dec 29, 2009
    #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

    Joined:
    Jan 6, 2004
    Location:
    Western US
    #2

Share This Page