如何删除使用GDI功能绘制的线条

问题描述:

我已经在单个文档中使用GDI函数绘制了一条线,但是接下来我们要考虑的是如何删除在视图窗口中绘制的线.一旦我知道我们可以使用CPtrList类,但是是否有一种简单的方法来回答这个问题呢?

I have draw a line use GDI function in the singledocument,but what''s next is what we would think is that how to remove the line drawed within the view window. Once I have seen that we can use CPtrList class,but if is there a simple way to answer the question?

是的. :-)

—SA
Yes, there is. :-)

—SA