test7view.h

来自「实现剪切、复制、粘贴等文本图片的相关操作」· C头文件 代码 · 共 69 行

H
69
字号
// test7View.h : interface of the CTest7View class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_TEST7VIEW_H__23A3D80C_6192_11D9_9DB7_0050FCFF015D__INCLUDED_)
#define AFX_TEST7VIEW_H__23A3D80C_6192_11D9_9DB7_0050FCFF015D__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CTest7View : public CView
{
protected: // create from serialization only
	CTest7View();
	DECLARE_DYNCREATE(CTest7View)

// Attributes
public:
	CTest7Doc* GetDocument();

// Operations
public:
    CPoint point1;
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTest7View)
	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 ~CTest7View();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CTest7View)
	afx_msg void OnEditPaste();
	afx_msg void OnEditCopy();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in test7View.cpp
inline CTest7Doc* CTest7View::GetDocument()
   { return (CTest7Doc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_TEST7VIEW_H__23A3D80C_6192_11D9_9DB7_0050FCFF015D__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?