PDA

View Full Version : MSVC++ MDI-Problems - I need HELP



Giotto
05-02-2001, 06:31 AM
Hi, a have a big Problem!
I need to create a MDI-Program with MSVC++ 6.0. Im a newbie in Opengl but since i start for some weeks i learnd much form NeHe.

First i learnd with NeHe's Tuturials and it work fine with SDI-Programs. But I need OpenGl to work with MDI-Views. So I create a new MDI-Prog. and use the same as in SDI.

And it works. -- BUT, if I resize the View it works only if the View is small. When the width of the View > 1000 I get problems. I have a white background (use glclearColor) and when the width of the view is > 1000 I get a black bar on the right and on then Bottom side.

I use then typical NeHe code in the OnSize-Methode. What is wrong?

Please help me!! I need it http://www.opengl.org/discussion_boards/ubb/smile.gif

thanks.

Coconut
05-02-2001, 10:44 AM
See the following link: http://support.microsoft.com/support/kb/articles/Q272/2/22.ASP

Giotto
05-03-2001, 11:26 PM
Originally posted by Coconut:
See the following link: http://support.microsoft.com/support/kb/articles/Q272/2/22.ASP


Hi, thanks for this Tip, but...

how can i check if the system where my program run e.g. Win2000, Win98 .. use Hardware-Acceleration.

Do I have to distinguish or will MS recognize itself?

thanks http://www.opengl.org/discussion_boards/ubb/smile.gif

[This message has been edited by Giotto (edited 05-04-2001).]