View Full Version : MFC and OpenGL
I am writing a program using OpenGL in an MDI. I was wondering if anyone knows how to animate properly so that the screen doesn't flicker. Also does anyone know how to make a color flash?
10-24-2001, 04:58 PM
In general, you probably shouldn't name two messages that are on different topics the same.
As for your first question, override CWnd::OnEraseBkgnd in your CView-derived class. Return TRUE to tell Window's not to erase the background.
On your second question, what is a color flash?
Forgive the same title. And thank you for responding to my questions. By color flash I meant, how to make it look like the color is flashing or blinking. Also I have tried to override the OnEraseBkgnd() but that does not work.
Powered by vBulletin® Version 4.2.2 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.