meetingview.h

来自「聊天的」· C头文件 代码 · 共 78 行

H
78
字号
// MeetingView.h : interface of the CMeetingView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_MEETINGVIEW_H__9AD31E78_3AFD_47E7_80AB_AA4593982E0C__INCLUDED_)
#define AFX_MEETINGVIEW_H__9AD31E78_3AFD_47E7_80AB_AA4593982E0C__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CShape;
class CMeetingDoc;

class CMeetingView : public CScrollView
{
protected: // create from serialization only
	CMeetingView();
	DECLARE_DYNCREATE(CMeetingView)

// Attributes
public:
	CMeetingDoc* GetDocument();
	CShape* m_pShape;
	CPoint m_ptPre;

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMeetingView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual void OnInitialUpdate(); // called first time after construct
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

// Implementation
public:

	virtual ~CMeetingView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CMeetingView)
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSendAudio(WPARAM buf_len,LPARAM buffer);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};
extern CMeetingView* g_pView;

#ifndef _DEBUG  // debug version in MeetingView.cpp
inline CMeetingDoc* CMeetingView::GetDocument()
   { return (CMeetingDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_MEETINGVIEW_H__9AD31E78_3AFD_47E7_80AB_AA4593982E0C__INCLUDED_)

⌨️ 快捷键说明

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