📄 cppmdi2dview.h
字号:
/******************************************************************************/
/***** Copyright 2004-2004, Analytical Graphics, Incorporated. *****/
/******************************************************************************/
#if !defined(AFX_CPPMDI2DVIEW_H__D883A1C6_F0DC_40D2_8AE2_CBFC3E1D35D3__INCLUDED_)
#define AFX_CPPMDI2DVIEW_H__D883A1C6_F0DC_40D2_8AE2_CBFC3E1D35D3__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// CPPMDI2DView.h : header file
//
#include "aguiax2dcntrl.h"
/////////////////////////////////////////////////////////////////////////////
// CCPPMDI2DView view
class CCPPMDI2DView : public CView
{
public:
CCPPMDI2DView(); // protected constructor used by dynamic creation
protected:
DECLARE_DYNCREATE(CCPPMDI2DView)
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCPPMDI2DView)
protected:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CCPPMDI2DView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
protected:
//{{AFX_MSG(CCPPMDI2DView)
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnAx2DClick();
afx_msg void OnAx2DMouseMove(short Button, short Shift, long x, long y);
afx_msg void OnAx2DKeyDown(short FAR* KeyCode, short Shift);
afx_msg void OnAx2DKeyPress(short FAR* KeyAscii);
afx_msg void OnAx2DKeyUp(short FAR* KeyCode, short Shift);
afx_msg void OnAx2DDblClick();
afx_msg void OnAx2DMouseDown(short Button, short Shift, long x, long y);
afx_msg void OnAx2DMouseUp(short Button, short Shift, long x, long y);
afx_msg void OnZoomIn();
afx_msg void OnZoomOut();
DECLARE_EVENTSINK_MAP()
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
CAgUiAx2DCntrl m_Ax2D;
long m_x;
long m_y;
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CPPMDI2DVIEW_H__D883A1C6_F0DC_40D2_8AE2_CBFC3E1D35D3__INCLUDED_)
/******************************************************************************/
/***** Copyright 2004-2004, Analytical Graphics, Incorporated. *****/
/******************************************************************************/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -