smsrecvdlg.h

来自「GSM短信息发送的VC源码」· C头文件 代码 · 共 73 行

H
73
字号
// SmsRecvDlg.h : header file
//

#if !defined(AFX_SMSRECVDLG_H__07E8F8C7_26D6_4273_B2C3_F37A77DC31A2__INCLUDED_)
#define AFX_SMSRECVDLG_H__07E8F8C7_26D6_4273_B2C3_F37A77DC31A2__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CSmsRecvDlg dialog

#include "cmppsocket.h"

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

// Dialog Data
	//{{AFX_DATA(CSmsRecvDlg)
	enum { IDD = IDD_SMSRECV_DIALOG };
	CEdit	m_secCtrl;
	CEdit	m_pwdCtrl;
	CEdit	m_portCtrl;
	CEdit	m_spcodeCtrl;
	CEdit	m_spidCtrl;
	CIPAddressCtrl	m_IPCtrl;
	UINT	m_nPort;
	CString	m_strSpid;
	CString	m_strSpcode;
	CString	m_strPwd;
	UINT	m_nSec;
	CString	m_strMsg;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CSmsRecvDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnExit();
	afx_msg void OnConnect();
	afx_msg void OnDisconnect();
	afx_msg void OnSend();
	afx_msg void OnDestroy();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()


public:
	char		 m_GatewayIP[20];
	CcmppSocket* m_pCmpp;
};

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

#endif // !defined(AFX_SMSRECVDLG_H__07E8F8C7_26D6_4273_B2C3_F37A77DC31A2__INCLUDED_)

⌨️ 快捷键说明

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