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

📄 phonebookdlg.h

📁 通信增值服务,上网接听电话
💻 H
字号:
#if !defined(AFX_PHONEBOOKDLG_H__E9AC725C_F489_11D3_9D93_02608CDD55B8__INCLUDED_)
#define AFX_PHONEBOOKDLG_H__E9AC725C_F489_11D3_9D93_02608CDD55B8__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CPhoneBookDlg dialog
class CPhonebookListCtrl;
class CPhoneBookDlg : public CDialog
{
// Construction
public:
	CPhoneBookDlg(CMapStringToString* map,CWnd* pParent = NULL);   // standard constructor

	void InsertRow(CString name,CString phonenum);
	void ModifyHeaderItems();
	void FillListCtrl();
// Dialog Data
	//{{AFX_DATA(CPhoneBookDlg)
	enum { IDD = IDD_PHONE_BOOK };
	CEdit	m_cEditQuery;
	CComboBox	m_cComboQuery;
	//}}AFX_DATA
	CPhonebookListCtrl m_listctrl;
	//CListCtrl m_listctrl;
	int m_nRowInFocus;
	CMenu *m_pContextMenu;
protected:
	CMapStringToString* m_pMap;
	CImageList * m_pImageHdrSmall;
	CImageList * m_pImageList;
	CImageList * m_pImageListSmall;


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

// Implementation
protected:
	void ChangeView(long style);
	void ChangeListCtrlStyle(DWORD dwStyle, BOOL bSetBits);
	void RenewListCtrl(DWORD dwStyle, BOOL bSetBits);
	CWinApp *pApp;

	// Generated message map functions
	//{{AFX_MSG(CPhoneBookDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnEditPhonebook();
	afx_msg void OnDestroy();
	afx_msg void OnRclickListPhonebook(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnAddPhonebook();
	afx_msg void OnDelPhonebook();
	afx_msg void OnQueryPhonebook();
	afx_msg void OnButtonAdd();
	afx_msg void OnChangeEditQuery();
	afx_msg void OnNcDestroy();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	int iItem;
};

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

#endif // !defined(AFX_PHONEBOOKDLG_H__E9AC725C_F489_11D3_9D93_02608CDD55B8__INCLUDED_)

⌨️ 快捷键说明

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