93 lines
2.5 KiB
C++
93 lines
2.5 KiB
C++
#if !defined(AFX_DIMPIPERADIUSDLG_H__15A18585_A10A_41A7_9B07_B0C42EFB19F0__INCLUDED_)
|
|
#define AFX_DIMPIPERADIUSDLG_H__15A18585_A10A_41A7_9B07_B0C42EFB19F0__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// DimPipeRadiusDlg.h : header file
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CDimPipeRadiusDlg dialog
|
|
#include <MySpin.h>
|
|
#include "Resource.h"
|
|
//#include <ModelessDialog.h>
|
|
|
|
class CDimPipeRadiusDlg : public CModelessDialog
|
|
{
|
|
// Construction
|
|
public:
|
|
CDimPipeRadiusDlg(CWnd* pParent = NULL); // standard constructor
|
|
|
|
DECLARE_DYNAMIC(CDimPipeRadiusDlg)
|
|
~CDimPipeRadiusDlg();
|
|
|
|
|
|
// Dialog Data
|
|
//{{AFX_DATA(CDimPipeRadiusDlg)
|
|
enum { IDD = IDD_DIM_PIPE_RADIUS };
|
|
CComboBox m_comboType;
|
|
CComboBox m_comboLabel;
|
|
CMySpin m_spinHeight;
|
|
int m_iRadius;
|
|
int m_iType;
|
|
int m_iPos;
|
|
double m_nHeight;
|
|
BOOL m_bDimNull;
|
|
BOOL m_bModifyDn;
|
|
//}}AFX_DATA
|
|
BOOL m_bChangeMode;
|
|
BOOL m_bIsOutDoor;
|
|
static CString m_csType;
|
|
static CString m_csLabel;
|
|
static BOOL m_bModifyPos;
|
|
XStringList m_lstDim;
|
|
CMenu *m_pMenu;
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CDimPipeRadiusDlg)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
virtual void PostNcDestroy();
|
|
virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
void SetRadius();
|
|
void LoadHisText();
|
|
void ResetRadius();
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CDimPipeRadiusDlg)
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnClose();
|
|
afx_msg void OnRadioRadius1();
|
|
afx_msg void OnRadioRadius2();
|
|
afx_msg void OnRadioRadius3();
|
|
afx_msg void OnRadioRadius4();
|
|
afx_msg void OnRadioRadius5();
|
|
afx_msg void OnRadioRadius6();
|
|
afx_msg void OnRadioRadius7();
|
|
afx_msg void OnRadioRadius8();
|
|
afx_msg void OnRadioRadius9();
|
|
afx_msg void OnRadioRadius10();
|
|
afx_msg void OnRadioRadius0();
|
|
afx_msg void OnButtonType();
|
|
afx_msg void OnCheckNull();
|
|
afx_msg void OnCheckSpec();
|
|
afx_msg void OnButtonUser();
|
|
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
|
|
afx_msg void OnRadioRadius11();
|
|
afx_msg void OnRadioRadius12();
|
|
afx_msg void OnSelchangeComboType();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_DIMPIPERADIUSDLG_H__15A18585_A10A_41A7_9B07_B0C42EFB19F0__INCLUDED_)
|