smssampledlg.h

来自「关于手机短信控件的使用例子程序」· C头文件 代码 · 共 60 行

H
60
字号
// smssampleDlg.h : header file
//
//{{AFX_INCLUDES()
#include "smscontrol.h"
//}}AFX_INCLUDES

#if !defined(AFX_SMSSAMPLEDLG_H__EF03A067_3DEF_11D8_95E3_0050BAD1872C__INCLUDED_)
#define AFX_SMSSAMPLEDLG_H__EF03A067_3DEF_11D8_95E3_0050BAD1872C__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CSmssampleDlg dialog

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

// Dialog Data
	//{{AFX_DATA(CSmssampleDlg)
	enum { IDD = IDD_SMSSAMPLE_DIALOG };
	CSmscontrol	m_ctrSMS;
	CString	m_strRcvMsg;
	CString	m_strRcvNumber;
	CString	m_strSndMsg;
	CString	m_strSndNumber;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CSmssampleDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnOnRecvMsgSmscontrolctrl1();
	afx_msg void OnButtonSnd();
	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_SMSSAMPLEDLG_H__EF03A067_3DEF_11D8_95E3_0050BAD1872C__INCLUDED_)

⌨️ 快捷键说明

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