Click to See Complete Forum and Search --> : openGL and windows Forms


rbha311
January 12th, 2009, 09:12 PM
Hi,

I am supposed to design a GUI using windows forms that displays a graphics window within itself, now for the graphics i am using openGL. I was wondering how I could dock an openGL window inside a windows forms GUI such that it appears as if the openGL window is part of the GUI or is it even possible to do so?


thanks

Lindley
January 13th, 2009, 08:12 AM
Should be possible, but I'm not sure exactly how. WGL will probably be involved. Basically you'll want to use WGL to make one of the subwindows support an OpenGL context.