2026-10-04 00:04:20 +08:00
|
|
|
#if !defined(AFX_ASCENTDLG_H__DD588795_2A15_486B_981B_85FE77D07500__INCLUDED_)
|
2026-09-28 15:28:50 +08:00
|
|
|
#define AFX_ASCENTDLG_H__DD588795_2A15_486B_981B_85FE77D07500__INCLUDED_
|
|
|
|
|
|
|
|
|
|
#if _MSC_VER > 1000
|
|
|
|
|
#pragma once
|
|
|
|
|
#endif // _MSC_VER > 1000
|
|
|
|
|
// AscentDlg.h : header file
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
// CAscentDlg dialog
|
|
|
|
|
|
|
|
|
|
#include "ObjPreviewDlg.h"
|
|
|
|
|
// [9/28/2007 nsh]
|
|
|
|
|
#include "wgroupctrl.h"
|
|
|
|
|
|
|
|
|
|
class CAscentDlg : public CObjPreviewDlg
|
|
|
|
|
{
|
|
|
|
|
// Construction
|
|
|
|
|
public:
|
|
|
|
|
DECLARE_DYNAMIC(CAscentDlg)
|
|
|
|
|
CAscentDlg(CWnd* pParent = NULL); // standard constructor
|
|
|
|
|
|
|
|
|
|
virtual void Dlg2Obj(AcDbEntity *pStep);
|
|
|
|
|
virtual void Obj2Dlg(const AcDbEntity *pStep);
|
|
|
|
|
virtual AcDbEntity *NewObject();
|
|
|
|
|
~CAscentDlg();
|
|
|
|
|
|
|
|
|
|
// Dialog Data
|
|
|
|
|
//{{AFX_DATA(CAscentDlg)
|
|
|
|
|
enum { IDD = IDD_ASCENT };
|
|
|
|
|
//}}AFX_DATA
|
|
|
|
|
|
|
|
|
|
static CString m_strAscentElev;
|
|
|
|
|
static CString m_strAscentHeight;
|
|
|
|
|
static CString m_strAscentIndent;
|
|
|
|
|
static CString m_strAscentLen;
|
|
|
|
|
static CString m_strAscentWidth;
|
|
|
|
|
static BOOL m_bNeedAntiskid;
|
|
|
|
|
static BOOL m_bLeftAlign;
|
|
|
|
|
static BOOL m_bRightAlign;
|
2026-10-04 00:04:20 +08:00
|
|
|
//以下用于备份和判断是否编辑状态的参数
|
|
|
|
|
BOOL m_bEdit;//是否处于编辑状态
|
|
|
|
|
TDbAscent *m_pBakObj;//备份状态
|
2026-09-28 15:28:50 +08:00
|
|
|
// -------------------------------------- [9/28/2007 nsh]
|
|
|
|
|
//WGroupCtrl m_group1;
|
|
|
|
|
//WGroupCtrl m_group2;
|
|
|
|
|
//static BOOL m_bgroup1Status;
|
|
|
|
|
//static BOOL m_bgroup2Status;
|
|
|
|
|
// Overrides
|
|
|
|
|
// ClassWizard generated virtual function overrides
|
|
|
|
|
//{{AFX_VIRTUAL(CAscentDlg)
|
|
|
|
|
protected:
|
|
|
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
|
|
|
//}}AFX_VIRTUAL
|
|
|
|
|
|
|
|
|
|
// Implementation
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
|
|
// Generated message map functions
|
|
|
|
|
//{{AFX_MSG(CAscentDlg)
|
|
|
|
|
virtual BOOL OnInitDialog();
|
|
|
|
|
//}}AFX_MSG
|
|
|
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
|
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
|
|
|
|
|
|
#endif // !defined(AFX_ASCENTDLG_H__DD588795_2A15_486B_981B_85FE77D07500__INCLUDED_)
|