摘要
MFC文档/视图的应用程序,向导给了打印及打印预览的标准支持。使这类应用程序打印及打印预览工作得以简化。另一类对话框程序却没有相应支持,从MFC打印及打印预览的标准支持入手,可以在对话框程序中,增加三个类以支持打印及打印预览,本文介绍了这三个类的实现。
The application procedure and guide of MFC text or view provide standard support for printing and print preview, which makes printing and print preview of this kind of application procedure simplify, but another kind of dialogue program doesnt get the corresponding support. Beginning with the standard support of printing and print preview of MFC, we can add three classifications to support the printing and print preview in a dialogue program. This article introduces the realization of these three classifications.
出处
《湖北三峡职业技术学院学报》
2006年第1期60-64,共5页
Journal of Hubei Three Gorges Polytechnic
关键词
打印及打印预览
虚函数
重载
printing and print preview
virtual function
recarrying