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

📄 _smscontrol.h

📁 用VC++利用一个开发好的短信控件编程实现发送短信的例子程序
💻 H
字号:
#if !defined(AFX__SMSCONTROL_H__3424663F_0682_4086_B112_1D8046CFEFB5__INCLUDED_)
#define AFX__SMSCONTROL_H__3424663F_0682_4086_B112_1D8046CFEFB5__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++

// NOTE: Do not modify the contents of this file.  If this class is regenerated by
//  Microsoft Visual C++, your modifications will be overwritten.

/////////////////////////////////////////////////////////////////////////////
// C_SMScontrol wrapper class

class C_SMScontrol : public CWnd
{
protected:
	DECLARE_DYNCREATE(C_SMScontrol)
public:
	CLSID const& GetClsid()
	{
		static CLSID const clsid
			= { 0x4849ad3c, 0xddf6, 0x11d7, { 0xbb, 0xb8, 0x52, 0x54, 0xab, 0x3b, 0x57, 0x75 } };
		return clsid;
	}
	virtual BOOL Create(LPCTSTR lpszClassName,
		LPCTSTR lpszWindowName, DWORD dwStyle,
		const RECT& rect,
		CWnd* pParentWnd, UINT nID,
		CCreateContext* pContext = NULL)
	{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }

    BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
		const RECT& rect, CWnd* pParentWnd, UINT nID,
		CFile* pPersist = NULL, BOOL bStorage = FALSE,
		BSTR bstrLicKey = NULL)
	{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
		pPersist, bStorage, bstrLicKey); }

// Attributes
public:

// Operations
public:
	BOOL GetAutoreceive();
	void SetAutoreceive(BOOL bNewValue);
	BOOL GetAutodelmsg();
	void SetAutodelmsg(BOOL bNewValue);
	short GetState();
	CString GetSetting();
	void SetSetting(LPCTSTR lpszNewValue);
	short GetCommport();
	void SetCommport(short nNewValue);
	short GetSendTimeout();
	void SetSendTimeout(short nNewValue);
	CString GetLastReadSender();
	CString GetLastReadMsg();
	CString GetLastReaddate();
	CString GetLastReadTime();
	CString GetGjdm();
	void SetGjdm(LPCTSTR lpszNewValue);
	CString GetSendmode();
	void SetSendmode(LPCTSTR lpszNewValue);
	short Commopen();
	short Commclose();
	VARIANT CheckConnection();
	short Sendmsg(LPCTSTR Mbno, LPCTSTR Msg, LPCTSTR SMStype);
	short Readmsg(short index);
	short Readall();
	short Deletemsg(short index);
	CString ATcommand(LPCTSTR Command);
};

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

#endif // !defined(AFX__SMSCONTROL_H__3424663F_0682_4086_B112_1D8046CFEFB5__INCLUDED_)

⌨️ 快捷键说明

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