?? memberdoc.h
字號(hào):
// memberDoc.h : interface of the CMemberDoc class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MEMBERDOC_H__1F245EF2_31EA_404D_AB73_5789CB0B1418__INCLUDED_)
#define AFX_MEMBERDOC_H__1F245EF2_31EA_404D_AB73_5789CB0B1418__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "member.h"
class CMemberDoc : public CDocument
{
protected: // create from serialization only
CMemberDoc();
DECLARE_DYNCREATE(CMemberDoc)
// Attributes
public:
CMemberList *GetList(){
return &m_memberList;
}
// Operations
public: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;
//}}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
// called first time after construct
virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
//}}AFX_VIRTUAL
// Implementation
public:
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
DECLARE_MESSAGE_MAP()
};
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMemberDoc)
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
virtual void DeleteContents();
virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
//}}AFX_VIRTUAL
// Implementation
public:
int m_iDirection;
int m_iNest;
virtual ~CMemberDoc();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CMemberDoc)
afx_msg void OnUpdateFileSave(CCmdUI* pCmdUI);
afx_msg void OnFileSave();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CMemberList m_memberList;
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MEMBERDOC_H__1F245EF2_31EA_404D_AB73_5789CB0B1418__INCLUDED_)
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -