欢迎来到天天文库
浏览记录
ID:40595096
大小:845.57 KB
页数:25页
时间:2019-08-04
《使用ObjectARX2015开发类似outlook浮动面板窗格》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、使用ObjectARX2015开发类似outlook浮动面板窗格开发步骤如下:1.建立新项目,基于MFC类项目。2.添加基于arx类库的浮动对话框类,添加完后,会自动生成DockControlBar和DockControlBarChildDlg文件。3.在DockControlBarChildDlg设置CMFCOutlookBar和CTreeCtrl变量函数。4.运行程序,生成.arx文件,然后再AutoCAD2015中加载,效果如下:5.左侧面板中每个节点运行时可以对应一个已经开发完的arx程序,但首
2、先应该在AutoCAD中加载这些函数。附件:源程序DockControlBar.h//(C)Copyright2002-2007byAutodesk,Inc.////Permissiontouse,copy,modify,anddistributethissoftwarein//objectcodeformforanypurposeandwithoutfeeisherebygranted,//providedthattheabovecopyrightnoticeappearsinallcopiesand
3、//thatboththatcopyrightnoticeandthelimitedwarrantyand//restrictedrightsnoticebelowappearinallsupporting//documentation.////AUTODESKPROVIDESTHISPROGRAM"ASIS"ANDWITHALLFAULTS.//AUTODESKSPECIFICALLYDISCLAIMSANYIMPLIEDWARRANTYOF//MERCHANTABILITYORFITNESSFORA
4、PARTICULARUSE.AUTODESK,INC.//DOESNOTWARRANTTHATTHEOPERATIONOFTHEPROGRAMWILLBE//UNINTERRUPTEDORERRORFREE.////Use,duplication,ordisclosurebytheU.S.Governmentissubjectto//restrictionssetforthinFAR52.227-19(CommercialComputer//Software-RestrictedRights)andDF
5、AR252.227-7013(c)(1)(ii)//(RightsinTechnicalDataandComputerSoftware),asapplicable.////-----------------------------------------------------------------------------//-----DockControlBar.h:DeclarationoftheCDockControlBar//----------------------------------
6、-------------------------------------------#pragmaonce//-----------------------------------------------------------------------------#include"acui.h"#include"DockControlBarChildDlg.h"//---------------------------------------------------------------------
7、--------classCDockControlBar:publicCAcUiDockControlBar{DECLARE_DYNAMIC(CDockControlBar)public://-----ChilddialogwhichwillusetheresourceidsuppliedCDockControlBarChildDlg*mChildDlg;public:CDockControlBar();virtual~CDockControlBar();public:virtualBOOLCreate
8、(CWnd*pParent,LPCTSTRlpszTitle);virtualvoidSizeChanged(CRect*lpRect,BOOLbFloating,intflags);virtualCSizeCalcFixedLayout(BOOLbStretch,BOOLbHorz);afx_msgintOnCreate(LPCREATESTRUCTlpCreateStruct);afx_msgvoidOnSysCommand(UINTn
此文档下载收益归作者所有