📄 phonebooklistctrl.h
字号:
#if !defined(AFX_PHONEBOOKLISTCTRL_H__E9AC725B_F489_11D3_9D93_02608CDD55B8__INCLUDED_)
#define AFX_PHONEBOOKLISTCTRL_H__E9AC725B_F489_11D3_9D93_02608CDD55B8__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PhonebookListCtrl.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CPhonebookListCtrl window
class CPhonebookListCtrl : public CListCtrl
{
// Construction
public:
//CPhonebookListCtrl(CMapStringToString* map=NULL);
CPhonebookListCtrl();
CMapStringToString* m_pMap;
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPhonebookListCtrl)
//}}AFX_VIRTUAL
// Implementation
public:
void SetStrMap(CMapStringToString* map);
int m_iEditItem;
int m_iEditSubItem;
int m_nEdit;
BOOL AddColumn(LPCTSTR strItem,int nItem,int nSubItem,int nMask,int nFmt);
BOOL AddItem(int nItem,int nSubItem,LPCTSTR strItem,int nImageIndex);
virtual ~CPhonebookListCtrl();
// Generated message map functions
protected:
//{{AFX_MSG(CPhonebookListCtrl)
afx_msg void OnBeginlabeledit(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnEndlabeledit(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PHONEBOOKLISTCTRL_H__E9AC725B_F489_11D3_9D93_02608CDD55B8__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -