Win32 MDI question

Started by
1 comment, last by LastResort 21 years, 6 months ago
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.
Advertisement
Check out http://www.gamedev.net/reference/programming/features/3dmfc/

this example uses sdi but can easily be modified to MDI
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

This topic is closed to new replies.

Advertisement