资 源 简 介
这是一个简单的绘图程序,编制该程序的过程包括建立应用程序的基本框 架、处理视图、处理文档、串行化处理、滚动处理、窗口分割、创建对话模板 资源、创建对话类、定义成员变量、定义消息处理函数、创建对话类对象并显 示对话框以及添加工具栏按钮。 该程序的功能就是在单文档窗口中绘制各种不同线宽(有六种线宽)、不 同风格(有三种风格:实线、划线和点线)和不同颜色的线段。并且具备保存、 恢复、撤消、滚动、窗口分割等功能。 该程序所用到的都是Visual C++最基本、最核心的内容。-This is a simple drawing program, the preparation of the procedures for the establishment of the process, including the application of the basic framework for handling View, documents, serial processing, and rolling, window segmentation, create dialogue template resources, the creation of such a dialogue, the definition member variables, the definition Message Handling Functions to create dialogue and object type dialog box appears and add toolbar button. The procedure is the function of a single document window mapping different width (a six linewidth), the different styles (three styles : solid line, and crossed point line) and different colors segment. And with the preservation, restoration, lifting, rolling, the window segmentation capabilities. The