📄 cppmdivoview.h
字号:
/******************************************************************************/
/***** Copyright 2004-2004, Analytical Graphics, Incorporated. *****/
/******************************************************************************/
// CPPMDIVOView.h : interface of the CCPPMDIView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_CPPMDIVOVIEW_H__0DB5969A_3F81_495F_B7D7_8A94DF0BDE03__INCLUDED_)
#define AFX_CPPMDIVOVIEW_H__0DB5969A_3F81_495F_B7D7_8A94DF0BDE03__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "aguiaxvocntrl.h"
class CCPPMDIDoc;
class CCPPMDIVOView : public CView
{
protected: // create from serialization only
CCPPMDIVOView();
DECLARE_DYNCREATE(CCPPMDIVOView)
// Attributes
public:
CCPPMDIDoc* GetDocument();
// Operations
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCPPMDIVOView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CCPPMDIVOView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CCPPMDIVOView)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnAxVOClick();
afx_msg void OnAxVOMouseMove(short Button, short Shift, long x, long y);
afx_msg void OnAxVOKeyDown(short FAR* KeyCode, short Shift);
afx_msg void OnAxVOKeyPress(short FAR* KeyAscii);
afx_msg void OnAxVOKeyUp(short FAR* KeyCode, short Shift);
afx_msg void OnAxVODblClick();
afx_msg void OnAxVOMouseDown(short Button, short Shift, long x, long y);
afx_msg void OnAxVOMouseUp(short Button, short Shift, long x, long y);
afx_msg void OnZoomIn();
DECLARE_EVENTSINK_MAP()
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
CAgUiAxVOCntrl m_AxVO;
long m_x;
long m_y;
};
#ifndef _DEBUG // debug version in CPPMDIVOView.cpp
inline CCPPMDIDoc* CCPPMDIVOView::GetDocument()
{ return (CCPPMDIDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CPPMDIVOVIEW_H__0DB5969A_3F81_495F_B7D7_8A94DF0BDE03__INCLUDED_)
/******************************************************************************/
/***** Copyright 2004-2004, Analytical Graphics, Incorporated. *****/
/******************************************************************************/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -