www.pudn.com > CTableDemo.rar > CTableDemoDlg.h


// CTableDemoDlg.h : header file 
// 
 
#if !defined(AFX_CTABLEDEMODLG_H__B4F53507_4811_4B6F_BA9C_1C5846761B98__INCLUDED_) 
#define AFX_CTABLEDEMODLG_H__B4F53507_4811_4B6F_BA9C_1C5846761B98__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
#include "PPToolTip.h"					// 加入阴影工具提示 
#include "Meter.h" 
#include "3DMeterCtrl.h" 
#include "Odom.h" 
#include "StaticTime.h" 
///////////////////////////////////////////////////////////////////////////// 
// CCTableDemoDlg dialog 
 
class CCTableDemoDlg : public CDialog 
{ 
// Construction 
public: 
	CCTableDemoDlg(CWnd* pParent = NULL);	// standard constructor 
 
protected: 
	CPPToolTip m_tooltip;         // 定义阴影工具提示变量 
	float iVal[10]; 
 
// Dialog Data 
	//{{AFX_DATA(CCTableDemoDlg) 
	enum { IDD = IDD_CTABLEDEMO_DIALOG }; 
	CButton	m_Set; 
	CEdit	m_Val8; 
	CEdit	m_Val7; 
	CEdit	m_Val6; 
	CEdit	m_Val5; 
	CEdit	m_Val4; 
	CEdit	m_Val3; 
	CEdit	m_Val2; 
	CEdit	m_Val1; 
	CStaticTime	m_Meter6; 
	CStaticTime	m_Meter5; 
	C3DMeterCtrl	m_Meter4; 
	C3DMeterCtrl	m_Meter3; 
	CMeter	m_Meter2; 
	CMeter	m_Meter1; 
	COdom	m_Odometer1; 
	COdom	m_Odometer2; 
	//}}AFX_DATA 
 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CCTableDemoDlg) 
	public: 
	virtual BOOL PreTranslateMessage(MSG* pMsg); 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	void UpdateLedState(); 
	void SetEditValue(); 
	HICON m_hIcon; 
 
	// Generated message map functions 
	//{{AFX_MSG(CCTableDemoDlg) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam); 
	afx_msg void OnPaint(); 
	afx_msg HCURSOR OnQueryDragIcon(); 
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); 
	virtual void OnOK(); 
	afx_msg void OnHand(); 
	afx_msg void OnOntime(); 
	afx_msg void OnSetstate(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_CTABLEDEMODLG_H__B4F53507_4811_4B6F_BA9C_1C5846761B98__INCLUDED_)