📄 pcdmview.h
字号:
// PCDMView.h : interface of the CPCDMView class
//
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INCLUDES()
#include "pcdmcommander.h"
//}}AFX_INCLUDES
#if !defined(AFX_PCDMVIEW_H__F9459DD7_68B0_4A48_A0CF_D0F6B8308BC2__INCLUDED_)
#define AFX_PCDMVIEW_H__F9459DD7_68B0_4A48_A0CF_D0F6B8308BC2__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
class CPCDMView : public CFormView
{
protected: // create from serialization only
CPCDMView();
DECLARE_DYNCREATE(CPCDMView)
// Attributes
public:
CPCDMDoc* GetDocument();
// <BOOK_ADDON Step2 Chapter 7.1.4> **********************************************
//{{AFX_DATA(CPCDMView)
enum { IDD = IDD_MAINFORM };
CPCDMCommander m_cmdBar;
//}}AFX_DATA
// </BOOK_ADDON Step2 Chapter 7.1.4> **********************************************
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPCDMView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual void OnInitialUpdate();
protected:
virtual void DoDataExchange(CDataExchange* pDX);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CPCDMView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CPCDMView)
afx_msg void OnCmdBarActionCommander(long ID, LPCTSTR text);
DECLARE_EVENTSINK_MAP()
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in PCDMView.cpp
inline CPCDMDoc* CPCDMView::GetDocument()
{ return (CPCDMDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PCDMVIEW_H__F9459DD7_68B0_4A48_A0CF_D0F6B8308BC2__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -