sampleceview.h

来自「创建可改变大小的对话框或框架的程序」· C头文件 代码 · 共 71 行

H
71
字号
// SampleCEView.h : interface of the CSampleCEView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_SAMPLECEVIEW_H__91A7D136_DE5A_11D1_9CB1_000000000000__INCLUDED_)
#define AFX_SAMPLECEVIEW_H__91A7D136_DE5A_11D1_9CB1_000000000000__INCLUDED_

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

class CSampleCEView : public CFormView
{
protected: // create from serialization only
	CSampleCEView();
	DECLARE_DYNCREATE(CSampleCEView)

public:
	//{{AFX_DATA(CSampleCEView)
	enum{ IDD = IDD_SAMPLECE_FORM };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

// Attributes
public:
	CSampleCEDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSampleCEView)
	public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual void OnInitialUpdate();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

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

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CSampleCEView)
		// 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()
};

#ifndef _DEBUG  // debug version in SampleCEView.cpp
inline CSampleCEDoc* CSampleCEView::GetDocument()
   { return (CSampleCEDoc*)m_pDocument; }
#endif

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

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SAMPLECEVIEW_H__91A7D136_DE5A_11D1_9CB1_000000000000__INCLUDED_)

⌨️ 快捷键说明

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