PDA

View Full Version : Resizing problems in Splitter Views (MFC)



tlaepple
01-28-2002, 12:32 AM
Hi,

I have OpenGL Views in a static splitter Window.
When I resize them, the OpenGL Scenes are
not resizing.

I`m working with MFC unter W2k,
glViewport gluperspective in OnSize as usuall


Thank you for your help


Thomas

dorbie
01-28-2002, 01:45 AM
Are you sure you read the new window dimensions from the resize THEN set the viewport? Are you sure you select the OpenGL rendering context for each window prior to issuing the viewport call?

What happens when you issue the correct glViewport every ondraw?

[This message has been edited by dorbie (edited 01-28-2002).]