Files
gjm 164968b62e chore
把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
2026-10-04 00:04:20 +08:00

83 lines
2.2 KiB
C++

#if !defined(_ASCENTCREATEDLG_H_)
#define _ASCENTCREATEDLG_H_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// AscentDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CAscentCreateDlg dialog
#include "ObjPreviewDlg.h"
#include "wgroupctrl.h"
class CAscentCreateDlg : public CObjPreviewDlg
{
// Construction
public:
DECLARE_DYNAMIC(CAscentCreateDlg)
CAscentCreateDlg(CWnd* pParent = NULL); // standard constructor
bool UpdateEdit(UINT ctrlID,bool bReportError);
virtual void Dlg2Obj(AcDbEntity *pStep);
virtual void Obj2Dlg(const AcDbEntity *pStep);
virtual AcDbEntity *NewObject();
// Dialog Data
//{{AFX_DATA(CAscentCreateDlg)
enum { IDD = IDD_ASCENT1 };
//}}AFX_DATA
//data-maping
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;
static BOOL m_bError;
static BOOL m_bUpdateEdit;
//指向this的指针
static CAscentCreateDlg *m_bpSelfCAC;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CAscentCreateDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CAscentCreateDlg)
virtual BOOL OnInitDialog();
//}}AFX_MSG
afx_msg void OnClose();
afx_msg void PostNcDestroy();
afx_msg void OnChangeAscLen();
afx_msg void OnChangeAscHei();
afx_msg void OnChangeAscWid();
afx_msg void OnChangeAscInd();
afx_msg void OnChangeAscEle();
afx_msg void OnKFAscLen();
afx_msg void OnKFAscHei();
afx_msg void OnKFAscWid();
afx_msg void OnKFAscInd();
afx_msg void OnKFAscEle();
afx_msg void OnCancel();
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnBnClickedLeftAlign();
afx_msg void OnBnClickedRightAlign();
afx_msg void OnBnClickedNeedantiskid();
BOOL CheckENChnange(UINT ctrlID,const CString pStr);
};
//{{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_)