Advertisement Jump to content


This topic is now archived and is closed to further replies.

Derek Doucett

OpenGL and MFC

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

Hi, I''m really interested in learning how I can go about making a primitive modelling program using Win32 and OGL. I know how to do the modelling part, but I''m stuck setting up the windows aspect. I really need to find a way to set up opengl and win32 to resemble the interface of 3d studio max. Once I get that finished I should be okay Thanks, - Derek Doucett

Share this post

Link to post
Share on other sites

I''m no MFC expert, but have done something similar before. I think what you need to do is first insert a SplitterWnd in your MainFrame. Then in the right splitter pane you insert a FormView. The left splitter pane gets another SplitterWnd (this time 4 way). In each of the subwindows, you would place your OpenGLView. Just search for MFC + OpenGL in your favorite search engine and you shall find. BTW, each OpenGLView will have to allocate its own rendering context and make it current, before accessing the OGL functions.


Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!