OpenGL with MFC Scrollview


Does anyone know how to enable scrolling in a window customized for OpenGL?

I have inherited from the ScrollView class. The view is customized for OpenGL using Ortho2D Projection. I can see the scroll bars and can click it. However, the window just gets messed up, having wrong/no update of the content. Moreover, the window is meant to enable user performing mouse clicks. I found that outside a certain area, the user mouse click has no effect. Can anyone tell me how to solve?

Many Thanks!!!