touchview.h
来自「有关win32应用程序编程和wince应用程序编程的很全面」· C头文件 代码 · 共 66 行
H
66 行
// 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 + =
减小字号Ctrl + -
显示快捷键?