test2doc.h

来自「根据《VC++6.0 用户界面制作技术与应用实例》写的一些代码」· C头文件 代码 · 共 59 行

H
59
字号
// test2Doc.h : interface of the CTest2Doc class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_TEST2DOC_H__2DAF9555_9D82_42B2_A76F_C50CDC8E099A__INCLUDED_)
#define AFX_TEST2DOC_H__2DAF9555_9D82_42B2_A76F_C50CDC8E099A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


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

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTest2Doc)
	public:
	virtual BOOL OnNewDocument();
	virtual void Serialize(CArchive& ar);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CTest2Doc();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CTest2Doc)
	afx_msg void OnFileOpen();
	afx_msg void OnFileSaveAs();
	afx_msg void OnColordlg();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_TEST2DOC_H__2DAF9555_9D82_42B2_A76F_C50CDC8E099A__INCLUDED_)

⌨️ 快捷键说明

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