www.pudn.com > RPort.rar > RPortDlg.h


// RPortDlg.h : header file 
// 
 
#if !defined(AFX_RPORTDLG_H__05540317_65F4_42E2_A929_6F37894414B6__INCLUDED_) 
#define AFX_RPORTDLG_H__05540317_65F4_42E2_A929_6F37894414B6__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
#include "PortThread.h" 
#include "SystemTray.h" 
class	CAboutDlg; 
///////////////////////////////////////////////////////////////////////////// 
// CRPortDlg dialog 
 
class CRPortDlg : public CDialog 
{ 
// Construction 
public: 
	CRPortDlg(CWnd* pParent = NULL);	// standard constructor 
	virtual BOOL OnWndMsg( UINT message, WPARAM wParam, LPARAM lParam, LRESULT* pResult ); 
	CStringArray m_arrDeviceName,m_arrComName; 
	CSystemTray m_TrayIcon; 
	CAboutDlg *m_pAboutDlg; 
 
// Dialog Data 
	//{{AFX_DATA(CRPortDlg) 
	enum { IDD = IDD_RPORT_DIALOG }; 
	CListBox	m_listInfo; 
	CString	m_strDevice; 
	CString	m_strState; 
	//}}AFX_DATA 
 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CRPortDlg) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	int GetPortCount(); 
	HICON m_hIcon; 
 
	// Generated message map functions 
	//{{AFX_MSG(CRPortDlg) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam); 
	afx_msg void OnPaint(); 
	afx_msg HCURSOR OnQueryDragIcon(); 
	virtual void OnOK(); 
	virtual void OnCancel(); 
	afx_msg void OnSelchangeList(); 
	afx_msg void OnExit(); 
	afx_msg void OnMonitor(); 
	afx_msg void OnAbout(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_RPORTDLG_H__05540317_65F4_42E2_A929_6F37894414B6__INCLUDED_)