ProE_二次开发入门实例.docx
- yilinshanzhuang个人认证 |
- 2020-10-27 发布|
- 93.72 KB|
- 5页
ProE二次开发入门实例
创建项目
这个就不用多说了吧,新建-> 项目->C++->MFC DLL
项目配置
这个可以参考我以前的一篇文章 :P⑹ENGINEER的二次开发(5)-Vc环境配置
初始化菜单文件
在这里,先创建一个菜单,作为演示,:
(1)在住文件添加Pro/TOOLKIT 头文件。由于在后面的操作中,都要用到这些头文件,故将头文件放到 stdafx.h 文件中。
77777777777777777777777777777777777777777777777777777777777777777777777777
#i nclude <Pr clo olkit. h>
/Pr oUtil. h)"
tfi n<lTid? okrr ay
#include oDimensi an. h.>
ftincli&Aa -(Pt oWi iud?w i.
tfinclud* <fr flSol i d h>
#include <froFarinieter. h.>
#includt oPar amvaJ. h>
#include <FrcMessage.h>
#include <Ptolleim.h>
#includ? Or oMailuE ar.
#inclnd? <Fr oMdl. h> tfincludt oMo deli tern, h》
#incl^id? QfQDmn專-h> bruludfl <FroFeituro.h)| sFsatlypt. h>
#includt Or oDrLwirt^. h>
#include <Fr oNot ify. h>
#includt h>
#inclndt