www.pudn.com > CHA06.rar > WYMETERPPG.H


#if !defined(AFX_WYMETERPPG_H__15491A75_5B63_11D5_ADD3_001088AB5D33__INCLUDED_)
#define AFX_WYMETERPPG_H__15491A75_5B63_11D5_ADD3_001088AB5D33__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

// wyMeterPpg.h : Declaration of the CwyMeterPropPage property page class.

////////////////////////////////////////////////////////////////////////////
// CwyMeterPropPage : See wyMeterPpg.cpp.cpp for implementation.

class CwyMeterPropPage : public COlePropertyPage
{
DECLARE_DYNCREATE(CwyMeterPropPage)
DECLARE_OLECREATE_EX(CwyMeterPropPage)

// Constructor
public:
CwyMeterPropPage();

// Dialog Data
//{{AFX_DATA(CwyMeterPropPage)
enum { IDD = IDD_PROPPAGE_WYMETER };
long m_colorNeedle;
CString m_strUnits;
double m_dMaxValue;
double m_dMinValue;
int m_nScaleDecimals;
int m_nValueDecimals;
//}}AFX_DATA

// Implementation
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support

// Message maps
protected:
//{{AFX_MSG(CwyMeterPropPage)
afx_msg void OnButtonColor();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()

};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_WYMETERPPG_H__15491A75_5B63_11D5_ADD3_001088AB5D33__INCLUDED)