Introduction - If you have any usage issues, please Google them yourself
Use MFC class library, the realization of the function is in the dialog box on the toolbar button to make the appropriate response: for example, designated points, a straight line, polygon, filled with features such as color.