📄 touchview.h
字号:
// touchView.h : interface of the CTouchView class///////////////////////////////////////////////////////////////////////////////#if !defined(AFX_TOUCHVIEW_H__C78A0BD9_5680_48A5_80F2_FC919C6BE899__INCLUDED_)#define AFX_TOUCHVIEW_H__C78A0BD9_5680_48A5_80F2_FC919C6BE899__INCLUDED_#if _MSC_VER >= 1000#pragma once#endif // _MSC_VER >= 1000class CTouchView : public CView{protected: // create from serialization only CTouchView(); DECLARE_DYNCREATE(CTouchView)// Attributespublic: CTouchDoc* GetDocument();// Operationspublic:// Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CTouchView) public: virtual void OnDraw(CDC* pDC); // overridden to draw this view virtual BOOL PreCreateWindow(CREATESTRUCT& cs); virtual void OnPrepareDC(CDC* pDC, CPrintInfo* pInfo = NULL); //}}AFX_VIRTUAL// Implementationpublic: void DrawCross(); virtual ~CTouchView();#ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const;#endifprotected:// Generated message map functionsprotected: //{{AFX_MSG(CTouchView) afx_msg void OnLButtonDown(UINT nFlags, CPoint point); //}}AFX_MSG DECLARE_MESSAGE_MAP()private: CRect m_rect;};#ifndef _DEBUG // debug version in touchView.cppinline CTouchDoc* CTouchView::GetDocument() { return (CTouchDoc*)m_pDocument; }#endif///////////////////////////////////////////////////////////////////////////////{{AFX_INSERT_LOCATION}}// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.#endif // !defined(AFX_TOUCHVIEW_H__C78A0BD9_5680_48A5_80F2_FC919C6BE899__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -