⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 realplayerview.h

📁 利用RealOne控件制作媒体播放器,实现在单文档结构的视图窗口中播放文件
💻 H
字号:
// realplayerView.h : interface of the CRealplayerView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_REALPLAYERVIEW_H__63212672_393E_430C_95B0_EEC0C60AA269__INCLUDED_)
#define AFX_REALPLAYERVIEW_H__63212672_393E_430C_95B0_EEC0C60AA269__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "realaudio.h"

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

// Attributes
public:
	CRealplayerDoc* GetDocument();
CString strname;
	CRealAudio rl;
// Operations
public:

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

protected:

// Generated message map functions
protected:
	BOOL loop;
	BOOL full;
	//{{AFX_MSG(CRealplayerView)
	afx_msg void OnOpen();
	afx_msg void OnExit();
	afx_msg void OnPlay();
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnLoop();
	afx_msg void OnUpdateLoop(CCmdUI* pCmdUI);
	afx_msg void OnAdd();
	afx_msg void OnSub();
	afx_msg void OnFullscreen();
	afx_msg void OnUpdateFullscreen(CCmdUI* pCmdUI);
	afx_msg void OnFilemessage();
	afx_msg void OnPause();
	afx_msg void OnStop();
	afx_msg void OnBack();
	afx_msg void OnFront();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in realplayerView.cpp
inline CRealplayerDoc* CRealplayerView::GetDocument()
   { return (CRealplayerDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_REALPLAYERVIEW_H__63212672_393E_430C_95B0_EEC0C60AA269__INCLUDED_)

⌨️ 快捷键说明

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