View Full Version : About blinking in a MDI Interface (VC++)
06-02-2003, 08:20 AM
Hi, I'm having some problems with my MDI app. When i move the mouse the viewport keeps blinking!!! How do I stop this!!???
06-02-2003, 10:21 AM
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.
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.