Files
envi-code/SourceCode/Code2026/tg_shs/shs_TwtAnotate/DimSinglePipeRadiusDlg.h
T

74 lines
1.8 KiB
C++
Raw Normal View History

2026-10-04 00:04:20 +08:00
#if !defined(AFX_DIMSINGLEPIPERADIUSDLG_H__D2B88ACD_FC1F_4634_98B0_897DBFC689D1__INCLUDED_)
2026-09-28 15:28:50 +08:00
#define AFX_DIMSINGLEPIPERADIUSDLG_H__D2B88ACD_FC1F_4634_98B0_897DBFC689D1__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Resource.h"
#include <MySpin.h>
class CDimSinglePipeRadiusDlg : public CModelessDialog
{
// Construction
public:
CDimSinglePipeRadiusDlg(CWnd* pParent = NULL); // standard constructor
~CDimSinglePipeRadiusDlg();
DECLARE_DYNAMIC(CDimSinglePipeRadiusDlg)
// Dialog Data
//{{AFX_DATA(CDimSinglePipeRadiusDlg)
enum { IDD = IDD_DIM_PIPE_RADIUS_SINGLE };
CComboBox m_comboType;
CListBox m_listDn;
CMySpin m_spinHeight;
BOOL m_bAuto;
double m_nHeight;
//}}AFX_DATA
static CString m_csType;
static int m_iRadius;
static CString m_strWndEdtPos; // cet 2011.4.27 add
XStringList m_lstDim;
static int m_iRet;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDimSinglePipeRadiusDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
//}}AFX_VIRTUAL
// Implementation
protected:
void LoadHisText();
int GetIndex(CPoint & pt);
// Generated message map functions
//{{AFX_MSG(CDimSinglePipeRadiusDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSelchangeListDn();
afx_msg void OnButtonDel();
afx_msg void OnPaint();
afx_msg void OnClose();
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
afx_msg void OnButtonType();
afx_msg void OnCheckAuto();
afx_msg void OnButtonPos();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
2026-10-04 00:04:20 +08:00
//zxl 2011.08.25 add 遍历COMBOBOX,设置管径选择项
2026-09-28 15:28:50 +08:00
void SetSelDNString();
private:
CMenu *m_pMenuPos; // cet 2011.4.27 add
};
#endif // !defined(AFX_DIMSINGLEPIPERADIUSDLG_H__D2B88ACD_FC1F_4634_98B0_897DBFC689D1__INCLUDED_)