You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

70 lines
1.7 KiB
C++

//////////////////////////////////////////////////////////////////////////////
//Îļþ: CScaleUnitPage.h
//Ö÷Òª¹¦ÄÜ:
//
//³ÌÐò±àд: 2006-12-07
//
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_SCALEUNITPAGE_H__A53FB9C6_DC89_41D3_8E6E_A1884F131B6E__INCLUDED_)
#define AFX_SCALEUNITPAGE_H__A53FB9C6_DC89_41D3_8E6E_A1884F131B6E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ScaleUnitPage.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CScaleUnitPage dialog
class CScaleUnitPage : public CPropertyPage
{
DECLARE_DYNCREATE(CScaleUnitPage)
// Construction
public:
double GetUnit(int sel);
void Show(BOOL bFlag);
double GetUnitY();
double GetUnitX();
CScaleUnitPage();
~CScaleUnitPage();
// Dialog Data
//{{AFX_DATA(CScaleUnitPage)
enum { IDD = IDD_DIALOG_UNIT_PAGE };
BOOL m_bXnotY;
int m_xunitSel;
int m_yunitSel;
double msPerCM;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CScaleUnitPage)
public:
virtual BOOL OnSetActive();
virtual LRESULT OnWizardNext();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CScaleUnitPage)
afx_msg void OnSelchangeCOMBOyunit();
afx_msg void OnSelchangeCOMBOxunit();
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SCALEUNITPAGE_H__A53FB9C6_DC89_41D3_8E6E_A1884F131B6E__INCLUDED_)