09-07-2001, 03:59 AM
I have an MFC MDI app using both CGLEnabledView and CSizingControlBar from www.codeproject.com. (http://www.codeproject.com.) My app typically has a docked control bar on the left and an opengl view filling the remaining space. When the view class is resized, everything works fine, but if I close the docked control bar and hence resize the opengl view to fill the entire window it throws a wobbly. The window itself resizes fine, but the rendered OpenGL image just shifts over to the left. It does not resize. Any ideas?