Click to See Complete Forum and Search --> : how to use opengl in .net?


fantasy2004
December 10th, 2006, 04:35 AM
hi,all!
I can use opengl with mfc, but i dont know how to use it with c++/cli.
many opengl sample just use mfc. I dont know how to Get the windows Handle to use function such as ChoosePixelFormat(hDC,&pixelDesc)...
who can give me advice?
thanks

fantasy2004
December 11th, 2006, 02:17 AM
I find a good article
Creating an OpenGL view on a Windows Form
the link is http://www.codeproject.com/managedcpp/OpenGLViewWinForms.asp