Visual OpenGL Form?

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

Post Reply
User avatar
MadPumpkin
Chaos Rift Maniac
Chaos Rift Maniac
Posts: 484
Joined: Fri Feb 13, 2009 4:48 pm
Current Project: Octopia
Favorite Gaming Platforms: PS1-3, Genesis, Dreamcast, SNES, PC
Programming Language of Choice: C/++,Java,Py,LUA,XML
Location: C:\\United States of America\Utah\West Valley City\Neighborhood\House\Computer Desk

Visual OpenGL Form?

Post 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.
While Jesus equipped with angels, the Devil's equipped with cops
For God so loved the world that he blessed the thugs with rock
Image
Image
Image
User avatar
Ginto8
ES Beta Backer
ES Beta Backer
Posts: 1064
Joined: Tue Jan 06, 2009 4:12 pm
Programming Language of Choice: C/C++, Java

Re: Visual OpenGL Form?

Post by Ginto8 »

First result on google looks like a winner: http://www.codeproject.com/KB/miscctrl/ ... Forms.aspx
Quit procrastinating and make something awesome.
Ducky wrote:Give a man some wood, he'll be warm for the night. Put him on fire and he'll be warm for the rest of his life.
User avatar
MadPumpkin
Chaos Rift Maniac
Chaos Rift Maniac
Posts: 484
Joined: Fri Feb 13, 2009 4:48 pm
Current Project: Octopia
Favorite Gaming Platforms: PS1-3, Genesis, Dreamcast, SNES, PC
Programming Language of Choice: C/++,Java,Py,LUA,XML
Location: C:\\United States of America\Utah\West Valley City\Neighborhood\House\Computer Desk

Re: Visual OpenGL Form?

Post 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.
While Jesus equipped with angels, the Devil's equipped with cops
For God so loved the world that he blessed the thugs with rock
Image
Image
Image
Post Reply