Jump to content
  • Advertisement
Sign in to follow this  
Tomassacre

OpenGL in VSC++ Windows Forms

This topic is 4951 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
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!