Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


how can I use OpenGL in Picturebox???

This topic is 5620 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

anybody know how to use opengl in picturebox? I am using VC++6.0 and MFC library. I just want to render opengl in picturebox,please help me...

Share this post

Link to post
Share on other sites
Hrmm.. I never use MFC - but if you are not afraid to get you hands dirty here is how to do it:

HDC hDC = getDC( hPb );

where hPb it the HWND ( window handle ) of the picture box - the you should be able to continue as allways...

gl & hf!

/Please excuse my bad spelling - My native language is binary not english
|Visit me
\Take my advice - I don''''t use it...

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!