Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: window size

  1. #1
    Junior Member Newbie
    Join Date
    Apr 2005
    Posts
    9

    window size

    I set my window's size according to the screen resolution . Is there any way when the window starts to be maximized ?
    Thanks

  2. #2
    Advanced Member Frequent Contributor
    Join Date
    Aug 2004
    Location
    munich, germany
    Posts
    659

    Re: window size

    for windows:

    ShowWindow(hWnd, SW_SHOW_MAXIMIZED);

  3. #3
    Advanced Member Frequent Contributor Ehsan Kamrani's Avatar
    Join Date
    May 2005
    Posts
    537

    Re: window size

    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-

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •