Two question about OpenGL with Win SDK
Hello everyone:
I'm now doing my homework with OpenGL and WinSDK. I have met 2 problems.
The first is how to paint 3D object on a window sub-component, I can paint OpenGL scene correctly in the main frame. But I can't do it well on a Windows control. The the second problem, this time it's about the main frame : if I mix some Windows control in the main frame, every time I want to repaint the Controls with InvalidateRect and UpdateWindow, it can not be done. But if I minimize then window and then normalize it again, the controls display well. I don't know where the problems exist. Hope someone can give me a hand.
Thanks in advance!!!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement