Advertisement

how can I use OpenGL in Picturebox???

Started by July 02, 2003 04:49 AM
0 comments, last by linuxopengl 21 years, 8 months ago
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...
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...
/Please excuse my bad spelling - My native language is binary not english|Visit meTake my advice - I don''t use it...

This topic is closed to new replies.

Advertisement