MFC window Flash

I do as the say in the FAQ, overriding the OnEraseBkgnd but my MFC window still flashes. Doublebuffering is enabled and swapbuffers is called. Why does the MFC window still flash everytime?

This forum is for people running games and applications, and who are having trouble.

This one is for OpenGL, programming, Windows
http://www.opengl.org/discussion_boards/cgi_directory/ultimatebb.cgi?ubb=forum;f=9