screen & windows size

Hello, I write some work and now I have some problem, I use windows98/2000 with Microsoft vc++ 6.0:

  1. I need to know how to open a windows
    (with glutInitWindowSize) in full size,
    (I know that have a function taht tell me the screenSize)

  2. I need to know what is the screen size in pixel of the openGL windows for the x and y cordination.

TNX

  1. glutFullScreen(); will make window full screen.

  2. glutGet( command ) x = GLUT_WINDOW_WIDTH and y = GLUT_WINDOW_HEIGHT in pixels

x_window = glutGet(GLUT_WINDOW_WIDTH);

also when glutReshapeFunc is called returns window width/height.

void My_reshape( int width, int height)
{

}

Originally posted by vemer:
[b]Hello, I write some work and now I have some problem, I use windows98/2000 with Microsoft vc++ 6.0:

  1. I need to know how to open a windows
    (with glutInitWindowSize) in full size,
    (I know that have a function taht tell me the screenSize)
  1. I need to know what is the screen size in pixel of the openGL windows for the x and y cordination.

TNX[/b]