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

📄 smsdlg.h

📁 该程序为VC环境下的基于西门子TC35I的短信收发程序,采用USB接口与模块连接,USB的驱动采用CP2010的驱动程序,
💻 H
字号:
// smsDlg.h : header file
//

#if !defined(AFX_SMSDLG_H__852DD190_3A2D_4953_A922_C536219F4526__INCLUDED_)
#define AFX_SMSDLG_H__852DD190_3A2D_4953_A922_C536219F4526__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CSmsDlg dialog
#include "smscom.h"
class CSmsDlg : public CDialog
{
// Construction
public:
	bool CloseComm();
	bool OpenComm(const char *pPort, int nBaudRate, int nParity, int nByteSize, int nStopBits);
	CSmsDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CSmsDlg)
	enum { IDD = IDD_SMS_DIALOG };
	CButton	m_modem;
	CButton	m_send;
	CButton	m_handrece;
	CButton	m_comopen;
	CButton	m_comclose;
	CButton	m_clearmobile;
	CButton	m_clear;
	CListCtrl	m_list;
	CString	m_content;
	int		m_comnumber;
	CString	m_mobilenumber;
	CString	m_centernumber;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSmsDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;
	HANDLE m_hCom;
	char*m_pcenternumber;
	bool ComOpen;
	int totalnum; 
	CString m_temp;
	// Generated message map functions
	//{{AFX_MSG(CSmsDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnComopen();
	afx_msg void OnComclose();
	afx_msg void OnClear();
	afx_msg void OnClearmobile();
	afx_msg void OnHandrece();
	afx_msg void OnIntroduction();
	afx_msg void OnHelptech();
	afx_msg void OnSend();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnSetnum();
	afx_msg void OnModem();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_SMSDLG_H__852DD190_3A2D_4953_A922_C536219F4526__INCLUDED_)

⌨️ 快捷键说明

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