Have a problem when run a program using opengl on windows2000

I write a program using opengl and mfc of visual c++. The program run nomarlly on windows 95/98. But it have a problem on windows 2000. That is the viewport is not full the client of view. I don’t know why? Anyone can help me?

Sorry, but I know why I´m using Linux!

yeah something is wrong, im using win2k and there isnt any difference to win98…

but how big is the viewport, half of the client( do you mean with client the whole window, or only the part without title etc. )?

Originally posted by T2k:
[b]yeah something is wrong, im using win2k and there isnt any difference to win98…

but how big is the viewport, half of the client( do you mean with client the whole window, or only the part without title etc. )? [/b]

Client is is only the part without title.The size of viewport equal with the size of client. But when rendering the viewport is cut at right and bottom edge. They is about 10 pixels width.

http://support.microsoft.com/support/kb/articles/Q272/2/22.ASP

While I have been posting this link for several times, I never implement the way MS recommends. I just leave it the way it is.

C.