gridsdoc.h

来自「mfc internals 源码 mfc internals 源码」· C头文件 代码 · 共 56 行

H
56
字号
// gridsdoc.h : interface of the CGridSampleDoc class
//

// This is a part of the Objective Grid C++ Library.
// Copyright (C) 1995 ClassWorks, Stefan Hoenig.
// All rights reserved.
//
// This source code is only intended as a supplement to
// the Objective Grid Classes Reference and related
// electronic documentation provided with the library.
// See these sources for detailed information regarding
// the Objective Grid product.
//

class CGridSampleDoc : public CDocument
{
protected: // create from serialization only
	CGridSampleDoc();
	DECLARE_DYNCREATE(CGridSampleDoc)

// Attributes
public:
	CObArray    m_ParamArray;
	CByteArray  m_bOwnParamArray;

// Operations
public:
	CObject* GetParam(int nViewID);
	void SetParam(int nViewID, CObject* pParam, BOOL bMustDelete = TRUE);

// Implementation
public:
	virtual ~CGridSampleDoc();
	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(LPCTSTR pszPathName);
	virtual BOOL OnSaveDocument(LPCTSTR pszPathName);
	virtual void DeleteContents();
	virtual BOOL CanCloseFrame(CFrameWnd* pFrame);

// Generated message map functions
protected:
	//{{AFX_MSG(CGridSampleDoc)
		// 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 + -
显示快捷键?