📄 statuspage.h
字号:
// StatusPage.h : header file
//
#ifndef __STATUSPAGE_H__
#define __STATUSPAGE_H__
/////////////////////////////////////////////////////////////////////////////
// COrdinatePage dialog
class COrdinatePage : public CPropertyPage
{
DECLARE_DYNCREATE(COrdinatePage)
// Construction
public:
COrdinatePage();
~COrdinatePage();
// Dialog Data
//{{AFX_DATA(COrdinatePage)
enum { IDD = IDD_ORDINATEPAGE };
double m_dStoW;
double m_dWtoS;
double m_dOriginX;
double m_dOriginY;
double m_dOriginZ;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(COrdinatePage)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(COrdinatePage)
afx_msg void OnDeltaposSpinX(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnDeltaposSpinY(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnDeltaposSpinZ(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnKillfocusEditWtos();
afx_msg void OnKillfocusEditStow();
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
// CSetPage dialog
class CSetPage : public CPropertyPage
{
DECLARE_DYNCREATE(CSetPage)
// Construction
public:
CSetPage();
~CSetPage();
// Dialog Data
//{{AFX_DATA(CSetPage)
enum { IDD = IDD_SETPAGE };
double m_dGrid;
double m_dSnap;
int m_nGrid;
int m_nOrtho;
int m_nSnap;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CSetPage)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CSetPage)
// NOTE: the ClassWizard will add member functions here
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
// COSnapPage dialog
class COSnapPage : public CPropertyPage
{
DECLARE_DYNCREATE(COSnapPage)
// Construction
public:
COSnapPage();
~COSnapPage();
// Dialog Data
//{{AFX_DATA(COSnapPage)
enum { IDD = IDD_OSNAPPAGE };
BOOL m_bCenter;
BOOL m_bEndPoint;
BOOL m_nMinPoint;
BOOL m_nQuardant;
//}}AFX_DATA
public:
int m_nOSnapSize;
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(COSnapPage)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(COSnapPage)
virtual BOOL OnInitDialog();
afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#endif // __STATUSPAGE_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -