OpenGL in VSC++ Windows Forms

Started by
0 comments, last by CyberSlag5k 19 years ago
Im doing an aplication in Windows Forms, and I cant find a way to embed a OpenGL window into it. Does anyone know how can I have a window inside my form that can display OpenGL-ed drawn stuff? Thnx Tom
Advertisement
It's entirely possible, though I don't have a solid enough understanding of forms (or Win32 in general, for that matter) to be of much help. You probably have to pass a handle to the form to some wgl function. I know nehe uses win32 to get a window open for OpenGL, which is probably different from what you want to do, but the theory might be similar.

A quick google search yielded this, which might be of some help.

Good luck!
Without order nothing can exist - without chaos nothing can evolve.

This topic is closed to new replies.

Advertisement