开发者

How to show OpenGL in PictureBox in Visual C++

开发者 https://www.devze.com 2022-12-21 06:08 出处:网络
开发者_如何学GoI want to show OpenGL processes in Windows Form PictureBox. I am using Visual C++.
开发者_如何学Go

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号