Win32 Double Buffering

Started by
9 comments, last by Servant of the Lord 17 years, 7 months ago
Hmm, I have another question, and think it doesn't warrant a new thread being made.

The drawing itself double buffers fine, but the dialog boxes I made into scroll bars and a toolbar still flicker at redraw. I tried several things like using a RNG to limit what I redraw, but I'm still having issues with it. Is there a way to double buffer dialog boxes through a simple command without using .NET frame?

If not, I'll have to manually draw the WM_PAINT of the dialog boxes and double buffer it myself. I'd use the basics of DefWindowProc, to not recreate the wheel, but I'm not sure what DefWindowProc looks like inside. I can't find it online or offline. (But apparenly it's a 'windows2' file) Anyone know how I can access it?

This topic is closed to new replies.

Advertisement