docdata.cpp
来自「ObjectARX对autoCAD进行二次开发的关于界面的工具条和树型控件例子源」· C++ 代码 · 共 37 行
CPP
37 行
#include "StdAfx.h"
#include "StdArx.h"
// The one and only document manager object
// You can use the DocVars object to retrieve
// document specific data throughout your application
AsdkDataManager<CDocData> DocVars;
//
// Implementation of the document data class.
//
CDocData::CDocData()
{
// NOTE: DO NOT edit the following lines.
//{{AFX_ARX_DATA_INIT(CDocData)
//}}AFX_ARX_DATA_INIT
// TODO: add your own initialization.
m_dWindHt = 20.0;
m_dWindWt = 20.0;
m_nCols = 1;
m_nRows = 1;
m_nWindType = 0; // Default Rect
m_startPt.set(0.0, 0.0);
}
CDocData::~CDocData()
{
// NOTE: DO NOT edit the following lines.
//{{AFX_ARX_DATA_DEL(CDocData)
//}}AFX_ARX_DATA_DEL
// TODO: clean up.
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?