PDA

View Full Version : Have a problem when run a program using opengl on windows2000



Le Vu Hao
06-26-2001, 08:03 PM
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?

clemi
06-26-2001, 08:44 PM
Sorry, but I know why Im using Linux!

T2k
06-26-2001, 10:56 PM
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. )? http://www.opengl.org/discussion_boards/ubb/smile.gif

Le Vu Hao
06-27-2001, 10:06 PM
Originally posted by T2k:
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. )? http://www.opengl.org/discussion_boards/ubb/smile.gif

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.

Coconut
06-28-2001, 05:54 AM
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.