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

📄 studoc.h

📁 VC++技术内幕(第四版)的实例
💻 H
字号:
// studoc.h : interface of the CStudentDoc class
//
/////////////////////////////////////////////////////////////////////////////

class CStudentDoc : public CDocument
{
private:
    CObList m_studentList;
protected: // create from serialization only
    CStudentDoc();
    DECLARE_DYNCREATE(CStudentDoc)

// Implementation
public:
    virtual ~CStudentDoc();
    CObList* GetList() {
        return &m_studentList;
    }
    virtual void Serialize(CArchive& ar);   // overridden for document i/o
#ifdef _DEBUG
    virtual void AssertValid() const;
    virtual void Dump(CDumpContext& dc) const;
#endif
protected:
    virtual BOOL OnNewDocument();
    virtual BOOL OnOpenDocument(const char* pszPathName);
    virtual void DeleteContents();

// Generated message map functions
protected:
    //{{AFX_MSG(CStudentDoc)
    afx_msg void OnUpdateFileSave(CCmdUI* pCmdUI);
    //}}AFX_MSG
    DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

⌨️ 快捷键说明

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