I have this code in the OnPaint function of my FormView:
CPaintDC dc(this); // device context for painting
dc1.CreateCompatibleDC( &dc );
What I want to know is from this, how to I transfer the dc1 image to the dc?
I'm doing this as I paint graphics directly onto the form and they flash when they're updated so I believe that painting everything to dc1 first then transfering it to the dc I will eliminate the flicker.
Is this the right way to do it?