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

📄 smspage.h

📁 代码为windows下的无线猫的应用程序(对AT指令的操作)。
💻 H
字号:
#if !defined(AFX_SMSPAGE_H__DB734451_3E45_4C99_8805_30E71278EC0E__INCLUDED_)
#define AFX_SMSPAGE_H__DB734451_3E45_4C99_8805_30E71278EC0E__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SMSPage.h : header file
//

#include "DialogResize.h"
#include "IconButton.h"
#include "ProgDlg.h"
#include "StringSet.H"
#include "DialInfoDlg.h"
#include "ReplySMSDlg.h"
/////////////////////////////////////////////////////////////////////////////
// CSMSPage dialog

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

public:
	CProgDlg m_ProgDlg;
	CDialInfoDlg	m_InfoDlg;
	CReplySMSDlg	m_ReplyDlg;
	
	int iCurrIndex;
	CPoint MousePoint;
	CMenu menu;

	CImageList imaSmall;
	DWORD ThreadId;
	HANDLE ExitEvent;
	HANDLE ExitedEvent;

	void InsertSMSHead(char * index,
				   char * from,
				   char * sms,
				   char * rectime);
	void InsertSMS(int imageindex,
				            char * index,
							char * from,
    					    char * sms,
						    char * rectime);
	void DelSMSList();
	void ShowSMSList(CString RetSMS);
	int  GetItemCount();
	CString Cut86(char * num);

// Dialog Data
	//{{AFX_DATA(CSMSPage)
	enum { IDD = IDD_PROPPAGE_SMS };
	CIconButton	m_btnsave;
	CIconButton	m_btnopen;
	CIconButton	m_btnexport;
	CListCtrl	m_SMSList;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CSMSPage)
	virtual BOOL OnInitDialog();
	afx_msg void OnBtnexport();
	afx_msg void OnBtnsave();
	afx_msg void OnDialnum();
	afx_msg void OnSendsmsto();
	afx_msg void OnRclickSms(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
	afx_msg void OnDelsms();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

	DECLARE_DLGRESIZE_MAP;
};

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

#endif // !defined(AFX_SMSPAGE_H__DB734451_3E45_4C99_8805_30E71278EC0E__INCLUDED_)

⌨️ 快捷键说明

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