Hi, I’m having some problems with my MDI app. When i move the mouse the viewport keeps blinking!!! How do I stop this!!???
Thanks!!
Hi, I’m having some problems with my MDI app. When i move the mouse the viewport keeps blinking!!! How do I stop this!!???
Thanks!!
Hi !
It could be OnEraseBkgnd() (WM_ERASEBKGND)
If you don’t handle it, MFC will repaint the window and then the OpenGL contents will be rendered on top of this, this might cause the “blinking”
Just add a handler for WM_ERASEBKGND and I think you should return FALSE, but check the docs on it.
Mikael