78 lines
2.0 KiB
C++
78 lines
2.0 KiB
C++
#if !defined(AFX_DIMSANITARYDLG_H__B16D5E96_5BD4_4FB1_9C59_B1F98510CE41__INCLUDED_)
|
|
#define AFX_DIMSANITARYDLG_H__B16D5E96_5BD4_4FB1_9C59_B1F98510CE41__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// DimSanitaryDlg.h : header file
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CDimSanitaryDlg dialog
|
|
#include <MySpin.h>
|
|
#include "Resource.h"
|
|
//#include <ModelessDialog.h>
|
|
|
|
class CDimSanitaryDlg : public CModelessDialog
|
|
{
|
|
// Construction
|
|
public:
|
|
CDimSanitaryDlg(CWnd* pParent = NULL); // standard constructor
|
|
DECLARE_DYNAMIC(CDimSanitaryDlg)
|
|
~CDimSanitaryDlg()
|
|
{
|
|
if(::IsWindow(m_hWnd))
|
|
DestroyWindow();
|
|
}
|
|
|
|
// Dialog Data
|
|
//{{AFX_DATA(CDimSanitaryDlg)
|
|
enum { IDD = IDD_DIM_SANITARY };
|
|
CComboBox m_comboStyle;
|
|
CMySpin m_spinCir;
|
|
CMySpin m_spinWidth;
|
|
BOOL m_bIsOut;
|
|
int m_iStyle;
|
|
//}}AFX_DATA
|
|
double m_nRadius;
|
|
double m_nWidth;
|
|
static CString m_csText;
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CDimSanitaryDlg)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CDimSanitaryDlg)
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnButtonType1();
|
|
afx_msg void OnButtonType2();
|
|
afx_msg void OnButtonType3();
|
|
afx_msg void OnButtonType4();
|
|
afx_msg void OnButtonType5();
|
|
afx_msg void OnButtonType6();
|
|
afx_msg void OnButtonType7();
|
|
afx_msg void OnButtonType8();
|
|
afx_msg void OnButtonType9();
|
|
afx_msg void OnButtonType10();
|
|
afx_msg void OnButtonType11();
|
|
afx_msg void OnButtonType12();
|
|
afx_msg void OnButtonType13();
|
|
afx_msg void OnButtonType14();
|
|
afx_msg void OnButtonType15();
|
|
afx_msg void OnButtonType16();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_DIMSANITARYDLG_H__B16D5E96_5BD4_4FB1_9C59_B1F98510CE41__INCLUDED_)
|