cancview.h

来自「侯捷先生翻译的书籍《Win32多线程程序设计》的源代码。」· C头文件 代码 · 共 55 行

H
55
字号
// CancelView.h : interface of the CCancelView class
//
/////////////////////////////////////////////////////////////////////////////

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

// Attributes
public:
	CCancelDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCancelView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	protected:
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CCancelView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:
	void LaunchHelper(HWND hParent);

// Generated message map functions
protected:
	//{{AFX_MSG(CCancelView)
	afx_msg void OnLaunch();
	afx_msg void OnBoom();
	afx_msg void OnLaunchWin32();
	afx_msg void OnViewTightLoop();
	afx_msg void OnViewNoparent();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in CancelView.cpp
inline CCancelDoc* CCancelView::GetDocument()
   { return (CCancelDoc*)m_pDocument; }
#endif

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

⌨️ 快捷键说明

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