没有合适的资源?快使用搜索试试~ 我知道了~
首页使用ObjectARX2015开发类似outlook浮动面板窗格
资源详情
资源评论
资源推荐

使用 ObjectARX2015 开发类似
outlook 浮动面板窗格
开发步骤如下:
1.建立新项目,基于 MFC 类项目。
2.添加基于 arx 类库的浮动对话框类,添加完后,会
自动生成 DockControlBar 和 DockControlBarChildDlg
文件。


3.在 DockControlBarChildDlg 设置
CMFCOutlookBar 和 CTreeCtrl 变量函数。

4.运行程序,生成.arx 文件,然后再 AutoCAD2015
中加载,效果如下:
5.左侧面板中每个节点运行时可以对应一个已经开发完的
arx 程序,但首先应该在 AutoCAD 中加载这些函数。

附件:源程序
DockControlBar.h
// (C) Copyright 2002-2007 by Autodesk, Inc.
//
// Permission to use, copy, modify, and distribute this software in
// object code form for any purpose and without fee is hereby granted,
// provided that the above copyright notice appears in all copies and
// that both that copyright notice and the limited warranty and
// restricted rights notice below appear in all supporting
// documentation.
//
// AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
// UNINTERRUPTED OR ERROR FREE.
//
// Use, duplication, or disclosure by the U.S. Government is subject to
// restrictions set forth in FAR 52.227-19 (Commercial Computer
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
// (Rights in Technical Data and Computer Software), as applicable.
//
//----------------------------------------------------------------------
-------
//----- DockControlBar.h : Declaration of the CDockControlBar
//----------------------------------------------------------------------
-------
#pragma once
//----------------------------------------------------------------------
-------
#include "acui.h"
#include "DockControlBarChildDlg.h"
//----------------------------------------------------------------------
-------
class CDockControlBar : public CAcUiDockControlBar {
DECLARE_DYNAMIC (CDockControlBar)
public:
//----- Child dialog which will use the resource id supplied
剩余26页未读,继续阅读














安全验证
文档复制为VIP权益,开通VIP直接复制

评论1