Active X Control - Redrawing
-
I'm having some trouble with screen flickering when the browser window (or active X test control container) is scrolled. It is really quiet bad, Is ther any way to get better redrawing? with less flickering? I've tried some double buffering but it doesn't seem to work. Especially with the CDC that the OnDraw function gives me. It is an MFC base Active X control. Any ideas, would be great thanks, JAred.
-
I'm having some trouble with screen flickering when the browser window (or active X test control container) is scrolled. It is really quiet bad, Is ther any way to get better redrawing? with less flickering? I've tried some double buffering but it doesn't seem to work. Especially with the CDC that the OnDraw function gives me. It is an MFC base Active X control. Any ideas, would be great thanks, JAred.
-
It is probably EraseBackground that causing this excessive flicker. Try to intercept WM_ERASEBKGND and return 1. Worked for me.