?? serialsampleview.h
字號:
// SerialSampleView.h : interface of the CSerialSampleView class
//
/////////////////////////////////////////////////////////////////////////////
/* This sample application and corresponding sample code is provided
* for example purposes only. It has not undergone rigorous testing
* and as such should not be shipped as part of a final application
* without extensive testing on the part of the organization releasing
* the end-user product.
*/
#if !defined(AFX_SERIALSAMPLEVIEW_H__22EDD7F0_3A00_11D3_9578_00AA00571CAB__INCLUDED_)
#define AFX_SERIALSAMPLEVIEW_H__22EDD7F0_3A00_11D3_9578_00AA00571CAB__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "MapX.h"
class CSerialSampleDoc;
class CSerialSampleView : public CView
{
protected: // create from serialization only
CSerialSampleView();
DECLARE_DYNCREATE(CSerialSampleView)
// Attributes
public:
CSerialSampleDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSerialSampleView)
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);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CSerialSampleView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
void OnMapThemeModifyRequested(LPDISPATCH theme);
// Generated message map functions
protected:
//{{AFX_MSG(CSerialSampleView)
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnSetFocus(CWnd* pOldWnd);
afx_msg void OnArrowTool();
afx_msg void OnUpdateArrowTool(CCmdUI* pCmdUI);
afx_msg void OnZoominTool();
afx_msg void OnUpdateZoominTool(CCmdUI* pCmdUI);
afx_msg void OnZoomoutTool();
afx_msg void OnUpdateZoomoutTool(CCmdUI* pCmdUI);
afx_msg void OnAddData();
afx_msg void OnAddTheme();
afx_msg void OnUpdateAddTheme(CCmdUI* pCmdUI);
afx_msg void OnLayerControls();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
DECLARE_EVENTSINK_MAP()
};
#ifndef _DEBUG // debug version in SerialSampleView.cpp
inline CSerialSampleDoc* CSerialSampleView::GetDocument()
{ return (CSerialSampleDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SERIALSAMPLEVIEW_H__22EDD7F0_3A00_11D3_9578_00AA00571CAB__INCLUDED_)
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -