How to show OpenGL in PictureBox in Visual C++
I want to show OpenGL processes in Windows Form PictureBox. I am using Visual C++. I'm taking user values on Windows Form Interface and I must draw chart for this values. Do you know any document or sample?
I never use Windows Form, but if you're using native Win32 Window, you can create openGL context using hdc of that window, and during creation of that window you should create it with openGL canvas flag. I hope it help.
精彩评论