www.pudn.com > agsm2-1.2_src.zip > agsm2Dlg.h


// agsm2Dlg.h : header file 
// 
 
#if !defined(AFX_AGSM2DLG_H__6C419833_92D1_4C8E_A75F_82C07E19C340__INCLUDED_) 
#define AFX_AGSM2DLG_H__6C419833_92D1_4C8E_A75F_82C07E19C340__INCLUDED_ 
 
#include "ScPinPage.h"	// Added by ClassView 
#include "ScAdnPage.h"	// Added by ClassView 
#include "ScSmsPage.h"	// Added by ClassView 
#include "PcScCtrl.h"	// Added by ClassView 
#include "FindDialog.h"	// Added by ClassView 
#include "ScCardInfo.h" 
#include "ref/CoolBtn.h" 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
///////////////////////////////////////////////////////////////////////////// 
// CAgsm2Dlg dialog 
enum SC_OPERATION { 
	SC_READ, 
	SC_WRITE, 
	SC_MOVEUP, 
	SC_MOVEDOWN, 
	SC_IMPORT, 
	SC_EXPORT, 
	SC_PRINT, 
	SC_FIND 
}; 
 
class CAgsm2Dlg : public CDialog 
{ 
// Construction 
public: 
	HANDLE m_hEventDead; 
	CWinThread* m_pTrackingThread; 
	BOOL m_bDone; 
	void UpdateCardStatus(LPCTSTR lpsz); 
	static UINT TrackingReaderAndCardThreadProc( LPVOID pParam ); 
	CFindDialog *m_pFindDialog; 
	CScPinPage m_ScPinPage; 
	SC_OPERATION m_CurOperation; 
	void UpdateComboReaders(); 
	CPcScCtrl m_SCReader; 
	CScSmsPage m_ScSmsPage; 
	CScAdnPage m_ScAdnPage; 
	CScAdnPage *m_pScLndPage; 
	CScCardInfo m_ScCardInfo; 
	CPropertySheet m_ScPropSheet; 
	CAgsm2Dlg(CWnd* pParent = NULL);	// standard constructor 
	~CAgsm2Dlg();	// standard constructor 
 
	HACCEL m_hAccelTable; 
 
// Dialog Data 
	//{{AFX_DATA(CAgsm2Dlg) 
	enum { IDD = IDD_AGSM2_DIALOG }; 
	CStatic	m_globalStatus; 
	CCoolBtn	m_readButton; 
	CCoolBtn	m_writeButton; 
	CProgressCtrl	m_RWProgress; 
	CComboBox	m_ComboReaders; 
	CString	m_CardStatus; 
	CString	m_globalStatusStr; 
	//}}AFX_DATA 
 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CAgsm2Dlg) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	void CreatePropSheet(); 
	HICON m_hIcon; 
 
	// Generated message map functions 
	//{{AFX_MSG(CAgsm2Dlg) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam); 
	afx_msg void OnPaint(); 
	afx_msg HCURSOR OnQueryDragIcon(); 
	afx_msg void OnButtonRead(); 
	afx_msg void OnButtonWrite(); 
	afx_msg void OnButtonImport(); 
	afx_msg void OnButtonExport(); 
	afx_msg void OnSelchangeComboReaders(); 
	afx_msg void OnMenuitemCopy(); 
	afx_msg void OnMenuitemPaste(); 
	afx_msg void OnMenuitemEdit(); 
	afx_msg void OnMenuitemDelete(); 
	afx_msg void OnMenuitemCut(); 
	afx_msg void OnButtonUp(); 
	afx_msg void OnButtonDown(); 
	afx_msg void OnButtonFind(); 
	afx_msg void OnClose(); 
	afx_msg void OnDropdownComboReaders(); 
	//}}AFX_MSG 
	afx_msg void OnWriteSelected();  
	afx_msg void OnUpdateMenuitemWrite(); 
	afx_msg void OnReadSelected(); 
	afx_msg void OnUpdateMenuitemRead(); 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_AGSM2DLG_H__6C419833_92D1_4C8E_A75F_82C07E19C340__INCLUDED_)