40 lines
877 B
C++
40 lines
877 B
C++
#pragma once
|
|
#include "resource.h"
|
|
#include "afxcmn.h"
|
|
#include "UIIListCtrl.h"
|
|
|
|
class CDXBZDlg : public CDialog
|
|
{
|
|
DECLARE_DYNAMIC(CDXBZDlg)
|
|
|
|
public:
|
|
CDXBZDlg(CWnd* pParent = NULL);
|
|
virtual ~CDXBZDlg();
|
|
|
|
void SetDimTexts(CStringArray& arTexts,AcGePoint3dArray& arPts);
|
|
void GetDimTexts(CStringArray& arTexts,AcGePoint3dArray& arPts) const;
|
|
|
|
enum { IDD = IDD_DXBZ_DLG };
|
|
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX);
|
|
|
|
DECLARE_MESSAGE_MAP()
|
|
public:
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnBnClickedOk();
|
|
afx_msg void OnBnClickedButton1();
|
|
|
|
void RemoveByLastDelete();
|
|
void RepeateByLastSave();
|
|
void SaveReModifyText(const CString& sOldText,const CString& sText);
|
|
|
|
protected:
|
|
|
|
CImageList m_ImageList;
|
|
CStringArray m_arTexts;
|
|
AcGePoint3dArray m_arPts;
|
|
CUIIListCtrl m_wndListCtrl;
|
|
CMap<CString,LPCTSTR,AcGePoint3d,AcGePoint3d> m_mapPT2Pt;
|
|
};
|