#if !defined(AFX_VH73BCONNECT_H__5C7695CA_2303_4C25_8500_17A606474408__INCLUDED_)
#define AFX_VH73BCONNECT_H__5C7695CA_2303_4C25_8500_17A606474408__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// VH73BConnect.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// VH73BConnect dialog

class VH73BConnect : public CPropertyPage
{
	DECLARE_DYNCREATE(VH73BConnect)

// Construction
public:
	VH73BConnect();
	~VH73BConnect();

// Dialog Data
	//{{AFX_DATA(VH73BConnect)
	enum { IDD = IDD_PROPPAGE_VH73BCONNECT };
		// NOTE - ClassWizard will add data members here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	int		m_ConnectMode;//0-rs232
	int		m_LanguageIndex;//0-English,1-chinese
	//}}AFX_DATA


// Overrides
	// ClassWizard generate virtual function overrides
	//{{AFX_VIRTUAL(VH73BConnect)
	public:
	virtual BOOL OnSetActive();
	virtual BOOL OnKillActive();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
public:
	CWnd * pMain;

	void OnInitUIText();//界面和文本更新
	void UpdateStatus();//控制使能与不使能

	int icnt;
	int iNum;
	int iCount;
	
	static void WINAPI CallBack_MyTimeListDisp(HWND   hWnd,UINT   nMsg,UINT   nIDEvent,DWORD   dwTime);
	//进度提示
	static DWORD WINAPI ThreadListDispPro(LPVOID pParam);
	HANDLE hDispThread;


protected:
	// Generated message map functions
	//{{AFX_MSG(VH73BConnect)
	virtual BOOL OnInitDialog();
	afx_msg void OnDestroy();
	afx_msg void OnRADIOCONEnglish();
	afx_msg void OnRADIOCONChinese();
	afx_msg void OnButtonConnect();
	afx_msg void OnButtonConnectdis();
	afx_msg void OnRADIOConnectRS232();
	afx_msg void OnRADIOCONUsb();
	//}}AFX_MSG
	afx_msg LRESULT OnConnectdatacustom(WPARAM wParam, LPARAM lParam);
	DECLARE_MESSAGE_MAP()

};

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

#endif // !defined(AFX_VH73BCONNECT_H__5C7695CA_2303_4C25_8500_17A606474408__INCLUDED_)
