poemdoc.h

来自「VC++技术内幕(第四版)的实例」· C头文件 代码 · 共 41 行

H
41
字号
// poemdoc.h : interface of the CPoemDoc class
//
/////////////////////////////////////////////////////////////////////////////

class CPoemDoc : public CDocument
{
public:
    CStringArray m_stringArray;
protected: // create from serialization only
    CPoemDoc();
    DECLARE_DYNCREATE(CPoemDoc)

// Attributes
public:

// Operations
public:

// Implementation
public:                        
    virtual void DeleteContents();
    virtual ~CPoemDoc();
    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();

// Generated message map functions
protected:
    //{{AFX_MSG(CPoemDoc)
        // NOTE - the ClassWizard will add and remove member functions here.
        //    DO NOT EDIT what you see in these blocks of generated code !
    //}}AFX_MSG
    DECLARE_MESSAGE_MAP()
};

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

⌨️ 快捷键说明

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