www.pudn.com > SenseISODemo.rar > ReadPage1.h


#if !defined(AFX_READPAGE1_H__E6BF414B_0C73_4C71_BF0B_FAEFCE0E96CA__INCLUDED_) 
#define AFX_READPAGE1_H__E6BF414B_0C73_4C71_BF0B_FAEFCE0E96CA__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// ReadPage1.h : header file 
// 
//#include "SenseISODemoDlg.h" 
///////////////////////////////////////////////////////////////////////////// 
// CReadPage1 dialog 
 
class CReadPage1 : public CDialog 
{ 
// Construction 
public: 
	void ResetBkColor(); 
	void ShowInfo(LPTSTR lpInfo, unsigned char Ante); 
	bool b_Color; 
	CRect m_ListRect; 
	HBRUSH m_Brush,m_Brush1,m_Brush2,m_Brush3; 
	void ChangeBKColor(); 
	unsigned char m_ucBKColor; 
	bool MTRAddressData(); 
	bool ReadTagID(); 
	bool ClearCache(); 
	unsigned char SelectTag(); 
	CString FormatData(unsigned char *TagID,unsigned char bitCount); 
	void ClearContent(); 
	void PlayBeep(); 
	CFont m_Font; 
	bool bReadTimer; 
	CReadPage1(CWnd* pParent = NULL);   // standard constructor 
 
// Dialog Data 
	//{{AFX_DATA(CReadPage1) 
	enum { IDD = IDD_DIALOG_READPAGE }; 
	CListCtrl	m_ListCtrl; 
	//}}AFX_DATA 
 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CReadPage1) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
 
	// Generated message map functions 
	//{{AFX_MSG(CReadPage1) 
	afx_msg void OnButtonRead(); 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnButtonRoundread(); 
	afx_msg void OnTimer(UINT nIDEvent); 
	afx_msg void OnButtonStop(); 
	afx_msg void OnButtonConfig(); 
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); 
	afx_msg void OnButtonClear(); 
	afx_msg void OnButtonContinueRead(); 
	afx_msg void OnShowWindow(BOOL bShow, UINT nStatus); 
	afx_msg void OnDblclkList3(NMHDR* pNMHDR, LRESULT* pResult); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
private: 
	void ShowImg(unsigned char AnteID); 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_READPAGE1_H__E6BF414B_0C73_4C71_BF0B_FAEFCE0E96CA__INCLUDED_)