⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 modemvw.h

📁 调制解调器网络编程
💻 H
字号:
// modemvw.h : interface of the CModem16View class
//
/////////////////////////////////////////////////////////////////////////////

//#include "modem.h"            
//#include "modemdoc.h"
//#include "mainfrm.h"

class CModem16View : public CEditView
{
protected: // create from serialization only
	CModem16View();
	DECLARE_DYNCREATE(CModem16View)

// Attributes
public:
	CModem16Doc* GetDocument();
	MODEM Modem;

// Operations
public:

// Implementation
public:
	virtual ~CModem16View();
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:
    CMainFrame *MainFrame;
    CModem16App *ModemApp;
	int		m_databits;
	int		m_parity;
	int		m_stopbits;
	CString	m_command;
	CString	m_baud;
	CString	m_com;
    

    void IniConnection();
// Generated message map functions
protected:
	//{{AFX_MSG(CModem16View)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg LONG OnCharsArrive(UINT,LONG);
	afx_msg LONG OnShowMessage(UINT,LONG);
	afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
	afx_msg void OnPhoneDial();
	afx_msg void OnUpdatePhoneDial(CCmdUI* pCmdUI);
	afx_msg void OnPhoneHangup();
	afx_msg void OnUpdatePhoneHangup(CCmdUI* pCmdUI);
	afx_msg void OnSetup();
	afx_msg void OnUpdateSetup(CCmdUI* pCmdUI);
	afx_msg void OnTReceivefile();
	afx_msg void OnUpdateTReceivefile(CCmdUI* pCmdUI);
	afx_msg void OnTSendfile();
	afx_msg void OnUpdateTSendfile(CCmdUI* pCmdUI);
	afx_msg void OnDestroy();
	afx_msg void OnTimer(UINT nIDEvent);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in modemvw.cpp
inline CModem16Doc* CModem16View::GetDocument()
   { return (CModem16Doc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -