www.pudn.com > PercentageCtrl.rar > PercentageCtrlDemoDlg.h


// PercentageCtrlDemoDlg.h : header file 
// 
 
#if !defined(AFX_PERCENTAGECTRLDEMODLG_H__1C94E473_3CE2_4F7C_927F_47606A9C8C01__INCLUDED_) 
#define AFX_PERCENTAGECTRLDEMODLG_H__1C94E473_3CE2_4F7C_927F_47606A9C8C01__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
#include "PercentageCtrl.h" 
 
///////////////////////////////////////////////////////////////////////////// 
// CPercentageCtrlDemoDlg dialog 
 
class CPercentageCtrlDemoDlg : public CDialog 
{ 
// Construction 
public: 
	LRESULT OnPercentageChanged(WPARAM WParam, LPARAM LParam); 
	CPercentageCtrlDemoDlg(CWnd* pParent = NULL);	// standard constructor 
 
// Dialog Data 
	//{{AFX_DATA(CPercentageCtrlDemoDlg) 
	enum { IDD = IDD_PERCENTAGECTRLDEMO_DIALOG }; 
	CPercentageCtrl m_percentage; 
	CPercentageCtrl m_percentage2; 
	double		m_1; 
	double		m_2; 
	double		m_3; 
	double		m_4; 
	//}}AFX_DATA 
 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CPercentageCtrlDemoDlg) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	HICON m_hIcon; 
 
	// Generated message map functions 
	//{{AFX_MSG(CPercentageCtrlDemoDlg) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnPaint(); 
	afx_msg HCURSOR OnQueryDragIcon(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_PERCENTAGECTRLDEMODLG_H__1C94E473_3CE2_4F7C_927F_47606A9C8C01__INCLUDED_)