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

📄 phonebookpage.h

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

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

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

class CPhoneBookPage : public CDialogResize
{
// Construction
public:
	CProgDlg m_ProgDlg;
	CDialInfoDlg	m_InfoDlg;
	CReplySMSDlg	m_ReplyDlg;

	DWORD ThreadId;
	HANDLE ExitEvent;
	HANDLE ExitedEvent;
	CImageList imaSmall;
	CPoint MousePoint;
	CMenu menu;
	int iCurrIndex;

	CPhoneBookPage(CWnd* pParent = NULL);   // standard constructor

	void InsertPhoneBookHead(char * index,
							 char * name,
							 char * phonenum);
	void InsertPhoneBook(int imageindex,
						 char * index,
						 char * name,
						 char * phonenum);
	void DelPhoneBookList();
	void ShowPhoneBookList(CString RetPhoneBook, int index);
	int GetItemCount();

	void SaveTempFile();
	void WritePhoneBook(CString index, CString num, CString name);

// Dialog Data
	//{{AFX_DATA(CPhoneBookPage)
	enum { IDD = IDD_PROPPAGE_PHONEBOOK };
	CIconButton	m_btnsave;
	CIconButton	m_btnopen;
	CIconButton	m_btnexport;
	CIconButton	m_btnimport;
	CListCtrl	m_pblist;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CPhoneBookPage)
	virtual BOOL OnInitDialog();
	afx_msg void OnBtnopen();
	afx_msg void OnBtnsave();
	afx_msg void OnBtnexport();
	afx_msg void OnBtnimport();
	afx_msg void OnRclickPhonebook(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
	afx_msg void OnDialnum();
	afx_msg void OnSendsmsto();
	//}}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_PHONEBOOKPAGE_H__1E825262_4C30_4D9B_9B28_2970FE536540__INCLUDED_)

⌨️ 快捷键说明

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