61 lines
1.6 KiB
C++
61 lines
1.6 KiB
C++
#if !defined(AFX_STEP_H__83725567_EC2A_4330_8FBC_73C8EAB8031B__INCLUDED_)
|
|
#define AFX_STEP_H__83725567_EC2A_4330_8FBC_73C8EAB8031B__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// Step.h : header file
|
|
//
|
|
|
|
#include "MyEdit.h"
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CStepDlg dialog
|
|
|
|
class CStepDlg : public GlwCAcUiDialog
|
|
{
|
|
// Construction
|
|
public:
|
|
DECLARE_DYNAMIC(CStepDlg)
|
|
CStepDlg(CWnd* pParent = NULL); // standard constructor
|
|
void updateEdit();
|
|
// Dialog Data
|
|
//{{AFX_DATA(CStepDlg)
|
|
enum { IDD = IDD_STEP };
|
|
CSpinButtonCtrl m_cSpin;
|
|
CMyEdit m_ctrlHeight;
|
|
BOOL m_bIsDownStep;
|
|
//}}AFX_DATA
|
|
static BOOL m_bTop;
|
|
static int m_nCount;
|
|
static CString m_strWidth;
|
|
static CString m_strHeight;
|
|
static CString m_strAllHeight;
|
|
static CString m_strElevation;
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CStepDlg)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CStepDlg)
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnTopbase();
|
|
afx_msg void OnBottombase();
|
|
afx_msg void OnKillfocusStepHeight();
|
|
afx_msg void OnKillfocusOverallHeight();
|
|
virtual void OnOK();
|
|
afx_msg void OnDownStep();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_STEP_H__83725567_EC2A_4330_8FBC_73C8EAB8031B__INCLUDED_)
|