#if !defined(AFX_DIMSINGLEPIPERADIUSDLG_H__D2B88ACD_FC1F_4634_98B0_897DBFC689D1__INCLUDED_) #define AFX_DIMSINGLEPIPERADIUSDLG_H__D2B88ACD_FC1F_4634_98B0_897DBFC689D1__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include "Resource.h" #include 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: //zxl 2011.08.25 add 遍历COMBOBOX,设置管径选择项 void SetSelDNString(); private: CMenu *m_pMenuPos; // cet 2011.4.27 add }; #endif // !defined(AFX_DIMSINGLEPIPERADIUSDLG_H__D2B88ACD_FC1F_4634_98B0_897DBFC689D1__INCLUDED_)