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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

erasing line - line as object

Status
Not open for further replies.

kamilas

Programmer
Jan 2, 2003
4
US
Using VC++ 6.
I have to draw lines and be able to store them so I can erase them at some point. I have to have a function
void EraseLine(CPoint startP, CPoint endP)
How do I do this?
 
well you might have all your line class objects in a container class and also a mechanism to "find" the matching object given a start/end point pair.

does that help

-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top