📄 ex16bview.h
字号:
// Ex16bView.h : interface of the CEx16bView class
//
#pragma once
class CEx16bView : public CFormView
{
protected: // create from serialization only
CEx16bView();
DECLARE_DYNCREATE(CEx16bView)
public:
enum{ IDD = IDD_EX16B_FORM };
// Attributes
public:
CEx16bDoc* GetDocument() const;
protected:
POSITION m_position; // current position in document list
CStudentList* m_pList; // copied from document
// Operations
public:
// Overrides
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnInitialUpdate(); // called first time after construct
// Implementation
public:
virtual ~CEx16bView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
virtual void ClearEntry();
virtual void InsertEntry(POSITION position);
virtual void GetEntry(POSITION position);
// Generated message map functions
protected:
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnStudentHome();
afx_msg void OnStudentEnd();
afx_msg void OnStudentPrevious();
afx_msg void OnStudentNext();
afx_msg void OnStudentInsert();
afx_msg void OnStudentDelete();
afx_msg void OnUpdateStudentHome(CCmdUI *pCmdUI);
afx_msg void OnUpdateStudentEnd(CCmdUI *pCmdUI);
afx_msg void OnUpdateStudentPrevious(CCmdUI *pCmdUI);
afx_msg void OnUpdateStudentNext(CCmdUI *pCmdUI);
afx_msg void OnUpdateStudentDelete(CCmdUI *pCmdUI);
int m_nGrade;
CString m_strName;
protected:
virtual void OnUpdate(CView* /*pSender*/,
LPARAM /*lHint*/, CObject* /*pHint*/);
public:
afx_msg void OnBnClickedClear();
};
#ifndef _DEBUG // debug version in Ex16bView.cpp
inline CEx16bDoc* CEx16bView::GetDocument() const
{ return reinterpret_cast<CEx16bDoc*>(m_pDocument); }
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -