sdimenusview.h

来自「Visual_C++[1].NET_Bible1 Visual_C++宝典书中」· C头文件 代码 · 共 57 行

H
57
字号
// SDIMenusView.h : interface of the CSDIMenusView class
//


#pragma once


class CSDIMenusView : public CView
{
protected: // create from serialization only
	CSDIMenusView();
	DECLARE_DYNCREATE(CSDIMenusView)

// Attributes
public:
	CSDIMenusDoc* GetDocument() const;

protected:
  BOOL m_bFormal;

  // Operations
public:

// Overrides
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);

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

protected:

// Generated message map functions
protected:
	DECLARE_MESSAGE_MAP()
public:
  afx_msg void OnSpeakBeformal();
  afx_msg void OnUpdateSpeakBeformal(CCmdUI *pCmdUI);
  afx_msg void OnSpeakSayhello();
};

#ifndef _DEBUG  // debug version in SDIMenusView.cpp
inline CSDIMenusDoc* CSDIMenusView::GetDocument() const
   { return reinterpret_cast<CSDIMenusDoc*>(m_pDocument); }
#endif

⌨️ 快捷键说明

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