win页面置换view.h
来自「用VC开发的模拟操作系统的页面置换」· C头文件 代码 · 共 70 行
H
70 行
// WIN页面置换View.h : interface of the CWINView class
//
/////////////////////////////////////////////////////////////////////////////
#include "MainClass.h"
#if !defined(AFX_WINVIEW_H__8097B4F5_6313_4ED3_A5DB_CF38A165C97F__INCLUDED_)
#define AFX_WINVIEW_H__8097B4F5_6313_4ED3_A5DB_CF38A165C97F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CWINView : public CView
{
protected: // create from serialization only
CWINView();
DECLARE_DYNCREATE(CWINView)
// Attributes
public:
CWINDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CWINView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CWINView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CWINView)
afx_msg void OnMenuOninitdata();
afx_msg void OnMenuStart();
afx_msg void OnTimer(UINT nIDEvent);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
CMainClass main;
int m_dispay;
};
#ifndef _DEBUG // debug version in WIN页面置换View.cpp
inline CWINDoc* CWINView::GetDocument()
{ return (CWINDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_WINVIEW_H__8097B4F5_6313_4ED3_A5DB_CF38A165C97F__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?