www.pudn.com > bitmappaint.rar > property.h
#if !defined(AFX_PROPERTY_H__9CDAD89C_23AD_11D5_9983_00E04C39AD0A__INCLUDED_)
#define AFX_PROPERTY_H__9CDAD89C_23AD_11D5_9983_00E04C39AD0A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// property.h : header file
//
//******************************/
#define WM_USERAPPLY WM_USER+5
//*******************************/
/////////////////////////////////////////////////////////////////////////////
// CPage1 dialog
class CPage1 : public CPropertyPage
{
DECLARE_DYNCREATE(CPage1)
// Construction
public:
CPage1();
~CPage1();
// Dialog Data
//{{AFX_DATA(CPage1)
enum { IDD = IDD_PAGE1 };
int m_GainSelect;
int m_nAGCMaxGain;
int m_nSECAbsorb;
int m_nSECMaxGain;
float m_fGainVelocity;
float m_fPusleNumber;
int m_nCONGain;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CPage1)
public:
virtual void OnOK();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void CalcWindowRect(LPRECT lpClientRect, UINT nAdjustType = adjustBorder);
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CPage1)
afx_msg void OnAgcGain();
afx_msg void OnSECGain();
afx_msg void OnCONGain();
afx_msg void OnUserGain();
afx_msg void OnNoneGain();
afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
void EnableCtrl();
bool m_bAGCGain;
bool m_bSECGain;
bool m_bCONGain;
};
/////////////////////////////////////////////////////////////////////////////
// CPage2 dialog
class CPage2 : public CPropertyPage
{
DECLARE_DYNCREATE(CPage2)
// Construction
public:
CPage2();
~CPage2();
// Dialog Data
//{{AFX_DATA(CPage2)
enum { IDD = IDD_PAGE2 };
int m_nPointAverage;
int m_nTraceAverage;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CPage2)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CPage2)
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
// CPage3 dialog
class CPage3 : public CPropertyPage
{
DECLARE_DYNCREATE(CPage3)
// Construction
public:
CPage3();
~CPage3();
// Dialog Data
//{{AFX_DATA(CPage3)
enum { IDD = IDD_PAGE3 };
int m_RightAxis;
int m_LeftAxis;
float m_fLeftx;
float m_fLefty;
float m_fRightx;
float m_fRighty;
float m_fTraceToTrace;
int m_nTraceFrom;
int m_nTraceTo;
int m_nTimeFrom;
int m_nTimeTo;
float m_fTraceWidth;
float m_fVAxisLength;
float m_fHAxisLength;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CPage3)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CPage3)
// NOTE: the ClassWizard will add member functions here
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
// CPage4 dialog
class CPage4 : public CPropertyPage
{
DECLARE_DYNCREATE(CPage4)
// Construction
public:
CPage4();
~CPage4();
// Dialog Data
//{{AFX_DATA(CPage4)
enum { IDD = IDD_PAGE4 };
int m_DisplaySelect;
int m_FillSelect;
int m_GraySelect;
BOOL m_DisplayWave;
int m_nMaxMinGray;
int m_nGrayFrom;
int m_nGrayTo;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CPage4)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CPage4)
afx_msg void OnGray();
afx_msg void OnColor();
afx_msg void OnArea();
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
void EnableCtrl();
bool m_bAreaEnabled;
bool m_bGrayEnabled;
bool m_bColorEnabled;
};
/////////////////////////////////////////////////////////////////////////////
// CPage5 dialog
class CPage5 : public CPropertyPage
{
DECLARE_DYNCREATE(CPage5)
// Construction
public:
CPage5();
~CPage5();
// Dialog Data
//{{AFX_DATA(CPage5)
enum { IDD = IDD_PAGE5 };
float m_fVelocity;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CPage5)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CPage5)
virtual BOOL OnInitDialog();
afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
// CPara
class CPara : public CPropertySheet
{
DECLARE_DYNAMIC(CPara)
// Construction
public:
CPara(UINT nIDCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
CPara(LPCTSTR pszCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPara)
//}}AFX_VIRTUAL
// Implementation
public:
CPage1 m_page1;
CPage2 m_page2;
CPage3 m_page3;
CPage4 m_page4;
CPage5 m_page5;
virtual ~CPara();
// Generated message map functions
protected:
//{{AFX_MSG(CPara)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PROPERTY_H__9CDAD89C_23AD_11D5_9983_00E04C39AD0A__INCLUDED_)