// JP opened flex table

Click to See Complete Forum and Search --> : openGL on MDI


urika
December 7th, 2003, 08:58 AM
i dont exactly know how to ask the question or if this is the right forum but i'll try...
i made an MDI on mfc that can call 3 applications using openGL.
each application on its own looks ok but if i open a couple of apps the second will not load correctly and the first will become blank.
i think it is the same rendering context they are trying to write to.
if i play with the size of the window i can see flickers of tow objects from two apps!

the thing is i am creating the PixelFormat and the GLcontext exactly the same.
-in the beginning the apps were SDI apps and each worked ok , then i made them into dll's (the view and doc) and i am using them in an MDI.
perhaps the fact that they recreating the GLcontext over again is the problem ?
any ideas?
thanks

//JP added flex table