摘要
采用MFC的单文档框架保存图元文件时,用MFC AppWizard向导产生应用框架,在头文件中增加成员变量、“建立图元文件”、菜单对应的消息处理函数等,经过编译、链接形成可执行文件MyWMF.exe。利用MFC中已经封装好的类CmetaFileDC能实现该图元文件的各种操作。
When Window Metafile was saved with single document frame of MFC, application frame was created with MFC AppWizard. Member variable, constituting window metafile and message manipulation function corresponded menu was added in header file. MyWMF.exe file was formed with compiling and linking. All kinds of operations of window metafile were realized with CmetaFileDC class encapsulated in MFC.
出处
《兵工自动化》
2004年第1期75-76,共2页
Ordnance Industry Automation