?? memberview.h
字號:
// memberView.h : interface of the CMemberView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MEMBERVIEW_H__25CBBF9E_48C3_4F7C_AF60_D122739715FD__INCLUDED_)
#define AFX_MEMBERVIEW_H__25CBBF9E_48C3_4F7C_AF60_D122739715FD__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CMemberView : public CFormView
{
protected:
POSITION m_position;
CMemberList *m_pList;
protected: // create from serialization only
CMemberView();
DECLARE_DYNCREATE(CMemberView)
public:
//{{AFX_DATA(CMemberView)
enum { IDD = IDD_TELEPHONEBOOK_FORM };
CTreeCtrl m_treeCtrl;
CString m_cellphone;
CString m_name;
CString m_sparephone;
CString m_search;
CString m_record;
//}}AFX_DATA
// Attributes
public:
CMemberDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMemberView)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual void OnInitialUpdate();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
virtual void OnDraw(CDC* pDC);
//}}AFX_VIRTUAL
// Implementation
public:
CBrush m_brush;
HTREEITEM m_treename;
HTREEITEM hDad;
CImageList m_imageList;
virtual ~CMemberView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
virtual void Insertentry(POSITION position);
virtual void GetEntry(POSITION position);
virtual void ClearEntry();
// Generated message map functions
protected:
//{{AFX_MSG(CMemberView)
afx_msg void OnNext();
afx_msg void OnPrev();
afx_msg void OnMemberDel();
afx_msg void OnUpdateMemberDel(CCmdUI* pCmdUI);
afx_msg void OnMemberEnd();
afx_msg void OnUpdateMemberEnd(CCmdUI* pCmdUI);
afx_msg void OnMemberHome();
afx_msg void OnUpdateMemberHome(CCmdUI* pCmdUI);
afx_msg void OnMemberIns();
afx_msg void OnClear();
afx_msg void OnMemberSea();
afx_msg void OnUpdateMemberSea(CCmdUI* pCmdUI);
afx_msg void OnEditDelete();
afx_msg void OnUpdateEditDelete(CCmdUI* pCmdUI);
afx_msg void OnEditHead();
afx_msg void OnUpdateEditHead(CCmdUI* pCmdUI);
afx_msg void OnEditInsert();
afx_msg void OnEditTail();
afx_msg void OnUpdateEditTail(CCmdUI* pCmdUI);
afx_msg void OnInstruction();
afx_msg void OnS();
afx_msg void OnModify();
afx_msg void OnMemberModify();
afx_msg void OnUpdateMemberModify(CCmdUI* pCmdUI);
afx_msg void OnDblclkTree(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in memberView.cpp
inline CMemberDoc* CMemberView::GetDocument()
{ return (CMemberDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MEMBERVIEW_H__25CBBF9E_48C3_4F7C_AF60_D122739715FD__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -