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

📄 mapiconnectview.h

📁 Win32_serial_book WIN32串口编程配套书每章的程序源代码,使用它可以开发出很好的串口程序,满足各种用户的需求.
💻 H
字号:
// MAPIConnectView.h : interface of the CMAPIConnectView class
//
/////////////////////////////////////////////////////////////////////////////
#include "mscomm.h"

#if !defined(AFX_MAPICONNECTVIEW_H__7C91FCFF_3A9E_4A46_AEE3_14DEF5BFEC64__INCLUDED_)
#define AFX_MAPICONNECTVIEW_H__7C91FCFF_3A9E_4A46_AEE3_14DEF5BFEC64__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CMAPIConnectView : public CFormView
{
protected: // create from serialization only
	CMAPIConnectView();
	DECLARE_DYNCREATE(CMAPIConnectView)

public:
	BOOL bValid;						// 标明邮件自动寻呼功能是否起作用,
// 并控制相关菜单项可用。
	CMSComm m_Com;					// MSComm控件实例。
	CString m_strXunhutai, m_strXunhuji;		// 记录寻呼台、寻呼机号。
	
//{{AFX_DATA(CMAPIConnectView)
	enum{ IDD = IDD_MAPICONNECT_FORM };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

// Attributes
public:
	CMAPIConnectDoc* GetDocument();
	void SendString(CString strTemp);		// 通过串口发送指定字符串

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMAPIConnectView)
	public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void OnInitialUpdate(); // called first time after construct
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CMAPIConnectView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CMAPIConnectView)
	afx_msg void OnMailLogoff();
	afx_msg void OnMailLogon();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnUpdateMailLogoff(CCmdUI* pCmdUI);
	afx_msg void OnUpdateMailLogon(CCmdUI* pCmdUI);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in MAPIConnectView.cpp
inline CMAPIConnectDoc* CMAPIConnectView::GetDocument()
   { return (CMAPIConnectDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_MAPICONNECTVIEW_H__7C91FCFF_3A9E_4A46_AEE3_14DEF5BFEC64__INCLUDED_)

⌨️ 快捷键说明

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