Archived

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

Win32 MDI question

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

Hello all! Im working on a Map Editor/Builder, and, im using win32 MDI (I dont like MFC ) to achive that goal.. The Problem: The Editor will have 4 views (FRONT; SIDE; TOP; PERSPECTIVE) from wich PERSPECTIVE is at .. maybe 60% done.. the problem is how do I render to all child windows. I can render the perspective with no prob.. but since they are diff windows, i have (?) to create a gl context for each of them.. example of mainloop: wglMakeCurrent(tophDC,tophRC); RenderScene(); swapbuffer(tophDC); //do this for the 4 childs Does this make any sence? Im sorry if he question is dumb.. but im newb on the OGL scene so go easy on me plz Thanks in advance.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Check out http://www.gamedev.net/reference/programming/features/3dmfc/

this example uses sdi but can easily be modified to MDI

Share this post


Link to post
Share on other sites
Yes I already saw it before, but since my knowledge about MFC is very very low, i didnt understand much (but i did get some general ideias from that tut )... anyway i got it working with 2 child windows (perspective and top frame) but the result isnt what i whant.. ill have to research a little more.
I guess ill give google one more chance :D

btw, thx

Share this post


Link to post
Share on other sites