www.pudn.com > SCommTest1.rar > SCommTest1Dlg.h


// SCommTest1Dlg.h : header file 
// 
//{{AFX_INCLUDES() 
#include "mscomm.h" 
//}}AFX_INCLUDES 
 
#if !defined(AFX_SCOMMTEST1DLG_H__F9477C60_D44C_4E4C_A400_9F8C02AB7893__INCLUDED_) 
#define AFX_SCOMMTEST1DLG_H__F9477C60_D44C_4E4C_A400_9F8C02AB7893__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
///////////////////////////////////////////////////////////////////////////// 
// CSCommTest1Dlg dialog 
 
class CSCommTest1Dlg : public CDialog 
{ 
// Construction 
public: 
	bool waitsend; 
	bool waitopen; 
	bool wait; 
	bool waitat(); 
	bool waitcall; 
	int buf; 
	CSCommTest1Dlg(CWnd* pParent = NULL);	// standard constructor 
 
// Dialog Data 
	//{{AFX_DATA(CSCommTest1Dlg) 
	enum { IDD = IDD_SCOMMTEST1_DIALOG }; 
	CStatic	m_Static; 
	CMSComm	m_ctrlComm; 
	CString	m_strRXData; 
	CString	m_strTXData; 
	//}}AFX_DATA 
 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CSCommTest1Dlg) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	HICON m_hIcon; 
 
	// Generated message map functions 
	//{{AFX_MSG(CSCommTest1Dlg) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam); 
	afx_msg void OnPaint(); 
	afx_msg HCURSOR OnQueryDragIcon(); 
	afx_msg void OnComm(); 
	afx_msg void OnButtonManualsend(); 
	afx_msg void OnButtonSend(); 
	afx_msg void OnButton3(); 
	afx_msg void OnTimer(UINT nIDEvent); 
	DECLARE_EVENTSINK_MAP() 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_SCOMMTEST1DLG_H__F9477C60_D44C_4E4C_A400_9F8C02AB7893__INCLUDED_)