Page 1 of 1

Visual OpenGL Form?

Posted: Thu Dec 30, 2010 5:19 pm
by MadPumpkin
Does anybody know how I can get OpenGL working in a windows form application? I've seen very few tutorials, and the ones I found honestly weren't that useful for what I'm trying to achieve. I'm in the process of rewriting my world editor, due to the fact that I wrote the entire thing and compiled with Dev-C++ :lol: . So now I'm just trying to get OpenGL working with Visual C++. But it's a form application.

I have a menu setup with dropdowns and what not, I have 3 forms so far, one is a web browser that opens straight to my HTML help documents on the level editor, one is a LUA script menu that still needs work. The main one is just a big window with a standard "file, edit, etc." toolbar menu at the top. So basically I just want the main window to have OpenGL rendering in it's currently empty space.

Any help is greatly appreciated, thanks.

Re: Visual OpenGL Form?

Posted: Thu Dec 30, 2010 8:01 pm
by Ginto8
First result on google looks like a winner: http://www.codeproject.com/KB/miscctrl/ ... Forms.aspx

Re: Visual OpenGL Form?

Posted: Sun Jan 02, 2011 11:21 pm
by MadPumpkin
Yea that's the one I'm using, but thanks. It's not exactly what I was hoping for but it will do.