PDA

View Full Version : window size



GreenCat
05-19-2005, 10:27 PM
I set my window's size according to the screen resolution . Is there any way when the window starts to be maximized ?
Thanks

RigidBody
05-19-2005, 10:39 PM
for windows:

ShowWindow(hWnd, SW_SHOW_MAXIMIZED);

Ehsan Kamrani
05-20-2005, 12:14 AM
See lesson 1 of the NeHe articles: NeHe.gamedev.net
You can press the F1 key to switch between the *fullscreen* and *window* modes.You can download the source code and use from it to write your OpenGL programs.
-Ehsan-