📄 dabiaoview.h
字号:
// dabiaoView.h : interface of the CDabiaoView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_DABIAOVIEW_H__04D4D696_2944_43F8_B649_E38C952AA864__INCLUDED_)
#define AFX_DABIAOVIEW_H__04D4D696_2944_43F8_B649_E38C952AA864__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "base.h"
BOOL IsInCret(const CPoint& pos);
class CDabiaoView : public CScrollView
{
protected: // create from serialization only
CDabiaoView();
DECLARE_DYNCREATE(CDabiaoView)
// Attributes
public:
CDabiaoDoc* GetDocument();
public:
// void WorldtoScreen(const Position& pos, CPoint& screenPt);
// 屏幕坐标转换为世界坐标,输入:屏幕坐标screenPt, 输出:世界坐标pos
// void ScreentoWorld(const CPoint& screenPt, Position& pos);
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDabiaoView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void OnInitialUpdate(); // called first time after construct
//}}AFX_VIRTUAL
// Implementation
public:
void Init();
void InsertPicture(int x0, int y0, int x1, int y1, CString string);
void OnErase();
virtual ~CDabiaoView();
afx_msg void OnClear();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
public:
//{{AFX_MSG(CDabiaoView)
afx_msg void OnTtextout();
afx_msg void OnUpdateTtextout(CCmdUI* pCmdUI);
afx_msg void OnSetview();
afx_msg void OnModify();
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
afx_msg void OnPicturre();
afx_msg void OnTest();
afx_msg void OnOpenSystem();
afx_msg void OnUpdateOpenSystem(CCmdUI* pCmdUI);
afx_msg void OnCloseSystem();
afx_msg void OnUpdateCloseSystem(CCmdUI* pCmdUI);
afx_msg void OnPrintCancel();
afx_msg void OnUpdatePrintCancel(CCmdUI* pCmdUI);
afx_msg void OnPrintContinue();
afx_msg void OnUpdatePrintContinue(CCmdUI* pCmdUI);
afx_msg void OnPrintLink();
afx_msg void OnUpdatePrintLink(CCmdUI* pCmdUI);
afx_msg void OnPrintPause();
afx_msg void OnUpdatePrintPause(CCmdUI* pCmdUI);
afx_msg void OnPrintSend();
afx_msg void OnUpdatePrintSend(CCmdUI* pCmdUI);
afx_msg void OnPrintSet();
afx_msg void OnUpdatePrintSet(CCmdUI* pCmdUI);
afx_msg void OnPrintTest();
afx_msg void OnUpdatePrintTest(CCmdUI* pCmdUI);
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnUpdateModify(CCmdUI* pCmdUI);
afx_msg void OnUpdatePicturre(CCmdUI* pCmdUI);
afx_msg void OnUpdateSetview(CCmdUI* pCmdUI);
afx_msg void OnUpdateClear(CCmdUI* pCmdUI);
afx_msg void OnUpdateFileNew(CCmdUI* pCmdUI);
afx_msg void OnUpdateFileOpen(CCmdUI* pCmdUI);
afx_msg void OnUpdateFileSave(CCmdUI* pCmdUI);
afx_msg void OnUpdateFileSaveAs(CCmdUI* pCmdUI);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in dabiaoView.cpp
inline CDabiaoDoc* CDabiaoView::GetDocument()
{ return (CDabiaoDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DABIAOVIEW_H__04D4D696_2944_43F8_B649_E38C952AA864__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -