• Advertisement
Sign in to follow this  

OpenGL in VSC++ Windows Forms

This topic is 4768 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

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

Share this post


Link to post
Share on other sites
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!

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement