hotspvw.h

来自「VC多媒体开发指南」· C头文件 代码 · 共 68 行

H
68
字号
// hotspvw.h : interface of the CHotspot2View class
//
/////////////////////////////////////////////////////////////////////////////

#include "dibapi.h"

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

// Attributes
public:
	CHotspot2Doc* GetDocument();
	void SetStatusText(CString);
	void OutlineRegion(void);
private:
	CBrush* m_oldBrush;
	CPen* m_oldPen;
	int m_oldMode;	
	BOOL m_drawing;		//Drawing flag.

// Operations
public:

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

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

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CHotspot2View)
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnModeTest();
	afx_msg void OnModeDefine();
	afx_msg void OnUpdateModeDefine(CCmdUI* pCmdUI);
	afx_msg void OnUpdateModeTest(CCmdUI* pCmdUI);
	afx_msg void OnUpdateFileSavehotspot(CCmdUI* pCmdUI);
	afx_msg void OnFileSavehotspot();
	afx_msg void OnUpdateEditEdithotspots(CCmdUI* pCmdUI);
	afx_msg void OnEditEdithotspots();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in hotspvw.cpp
inline CHotspot2Doc* CHotspot2View::GetDocument()
   { return (CHotspot2Doc*)m_pDocument; }
#endif

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

⌨️ 快捷键说明

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