• Advertisement

Archived

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

how can I use OpenGL in Picturebox???

This topic is 5413 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
Advertisement
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