Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Drawing

Status
Not open for further replies.

SteveD73

Programmer
Jan 5, 2001
109
GB
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top