PDA

View Full Version : 2 openGL objects in 2 windows



alexei_shk
06-28-2005, 10:47 PM
Hi,

I have 2 OpenGL objects in 2 different windows.
In the bigger window I show OpenGL object sometimes big than window (and by that way getting scrollbars). In the small window I show optimized OpenGL object to window.

When I do refresh of application window (I am working with MDI windows) the scrollbars sets to zero. It happends after I am calling MakeCurrent to the small window or the big window.

What I need to do that scrollbars stay and doesn't change to zero?

Thank's
Alexei

06-29-2005, 03:38 PM
i think you are better off in a mfc board for this questions. windows scroll bars have nothing to do with opengl.

i lifted this one from google...
http://www.gidforums.com/f-46.html?daysprune=-1&order=asc&sort=lastpost&pp=30&page=1

alexei_shk
06-29-2005, 09:22 PM
Hi,

I have asked there but I got link to this site.

Thank's
Alexei