Hello,
I am trying to make a window go full screen. Here is my code:
This makes the window fit the screen but I can still move the window around. Does anyone know what I am doing wrong.
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.