Hi
I am writting a program which draws a picture consisting of a load of lines. Each time the timer is activated the position of the lines is changed. Currently I am drawing the lines straight to pDC in the OnDraw function.
Can anyone tell me how to draw the lines to an offscreen device context and then draw the offscreen device context to the screen. I assume I create the context in the OnDraw function and remove the context in the same function. Any help with this would be great.
Thank you.
I am writting a program which draws a picture consisting of a load of lines. Each time the timer is activated the position of the lines is changed. Currently I am drawing the lines straight to pDC in the OnDraw function.
Can anyone tell me how to draw the lines to an offscreen device context and then draw the offscreen device context to the screen. I assume I create the context in the OnDraw function and remove the context in the same function. Any help with this would be great.
Thank you.