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

📄 smppagentdlg.h

📁 模拟手机源程序,做短信系统(源码)
💻 H
字号:
// SMPPAgentDlg.h : header file
//

#if !defined(AFX_SMPPAGENTDLG_H__0BDFDA56_269F_45B8_A4D8_E5A046F96C85__INCLUDED_)
#define AFX_SMPPAGENTDLG_H__0BDFDA56_269F_45B8_A4D8_E5A046F96C85__INCLUDED_

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

#include "Resource.h"

/////////////////////////////////////////////////////////////////////////////
// CSMPPAgentDlg dialog
#define WM_DISPLAY_MSG		WM_USER+100
#define WM_TRAY_NOTIFYICON	WM_USER+101
#define WM_CLOSESOCKET_USER		WM_USER+112
#define MAX_DISPLAY_LEN		10240
#define MAX_DISPLAY_COUNT	1000
class CAmuseCom;

class CSMPPAgentDlg : public CDialog
{
// Construction
public:
	CSMPPAgentDlg(CWnd* pParent = NULL);	// standard constructor
	int Display(int nType,char* szDisMsg);

	int ShowStatus(int nType,int nValue,char* szMsg);

	void OnCancel();

	int	 Exit(int nFlag);

	int m_nTestConnInterval;
// Dialog Data
	//{{AFX_DATA(CSMPPAgentDlg)
	enum { IDD = IDD_SMPPAGENT_DIALOG };
	CListBox	m_clStatus;
	CListBox	m_clTestLink;
	CListBox	m_clAmuseDisplay;
	BOOL	m_bShowMain;
	CString	m_strHandset;
	CString	m_strSendContent;
	CString	m_strSMSCLink;
	CString	m_strAmuseLink;
	int		m_nMOCount;
	int		m_nReportCount;
	int		m_nMTCount;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSMPPAgentDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;
	CAmuseCom* m_pcAmuseCom;
	NOTIFYICONDATA	m_tnid;

	CFile m_fileLog;

	int	m_nSMSCLink;
	int	m_nAmuseLink;

	void OnOK();

	// Generated message map functions
	//{{AFX_MSG(CSMPPAgentDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnDisplayMsg(WPARAM nType,LPARAM lParam);
	afx_msg void OnButtonTest();
	afx_msg void OnCheckShow();
	afx_msg void OnClose();
	afx_msg void OnButtonSend();
	afx_msg void OnDblclkListAmuse();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg void OnButton2();
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_SMPPAGENTDLG_H__0BDFDA56_269F_45B8_A4D8_E5A046F96C85__INCLUDED_)

⌨️ 快捷键说明

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