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

📄 smssenddlg.h

📁 用VC++利用一个开发好的短信控件编程实现发送短信的例子程序
💻 H
字号:
// smssendDlg.h : header file
//
//{{AFX_INCLUDES()
#include "_smscontrol.h"
//}}AFX_INCLUDES

#if !defined(AFX_SMSSENDDLG_H__E41DC392_49AF_4F75_9B31_E269F921DCEA__INCLUDED_)
#define AFX_SMSSENDDLG_H__E41DC392_49AF_4F75_9B31_E269F921DCEA__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CSmssendDlg dialog

class CSmssendDlg : public CDialog
{
// Construction
public:
	CSmssendDlg(CWnd* pParent = NULL);	// standard constructor

	char MbNo[20],content[1024],chSmsType[5];

// Dialog Data
	//{{AFX_DATA(CSmssendDlg)
	enum { IDD = IDD_SMSSEND_DIALOG };
	CProgressCtrl	m_Process;
	CStatic	m_Static1Ctrl;
	CComboBox	m_c3;
	CComboBox	m_c2;
	CComboBox	m_c1;
	C_SMScontrol	m_sms;
	C_SMScontrol	m_sms1;
	CString	m_Edit1;
	CString	m_Edit2;
	BOOL	m_check1;
	BOOL	m_check2;
	CString	m_c4;
	CString	m_Edit5;
	CString	m_Edit4;
	CString	m_Edit3;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;
	short m_nTimeCount;
	// Generated message map functions
	//{{AFX_MSG(CSmssendDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	virtual void OnCancel();
	virtual void OnOK();
	afx_msg void OnCheck1();
	afx_msg void OnButton7();
	afx_msg void OnButton1();
	afx_msg void OnButton3();
	afx_msg void OnButton2();
	afx_msg void OnButton4();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnCheck2();
	afx_msg void OnButton6();
	afx_msg void OnChangeEdit2();
	afx_msg void OnMsgreceivedSms(LPCTSTR arrivedate, LPCTSTR arrivetime, LPCTSTR smssender, LPCTSTR Msg);
	afx_msg void OnSendreportSms(LPCTSTR Outmbno, LPCTSTR Outmsg, LPCTSTR Report);
	afx_msg void OnDestroy();
	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_SMSSENDDLG_H__E41DC392_49AF_4F75_9B31_E269F921DCEA__INCLUDED_)

⌨️ 快捷键说明

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