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

📄 videotest2dlg.h

📁 演示wince 下如何使用mediaplay 控件播放媒体文件. 程序中还演示了如何解析文本文件
💻 H
字号:
// VideoTest2Dlg.h : header file
//
//{{AFX_INCLUDES()
#include "mediaplayer2.h"
//}}AFX_INCLUDES

#if !defined(AFX_VIDEOTEST2DLG_H__43545335_089D_4D65_8076_164447F24E9D__INCLUDED_)
#define AFX_VIDEOTEST2DLG_H__43545335_089D_4D65_8076_164447F24E9D__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CVideoTest2Dlg dialog

class CVideoTest2Dlg : public CDialog
{
// Construction
public:
	UINT m_nTimer;
	CVideoTest2Dlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CVideoTest2Dlg)
	enum { IDD = IDD_VIDEOTEST2_DIALOG };
	CMediaPlayer2	m_player;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CVideoTest2Dlg)
	public:
	virtual BOOL DestroyWindow();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// the list to hold the rules in the play.list
	CObList * playlist;
	CArray<CObList *,CObList *> playfileDetaillist ;

	// Generated message map functions
	//{{AFX_MSG(CVideoTest2Dlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
	//}}AFX_MSG

	
	afx_msg LRESULT OnHotKey ( WPARAM wParam, LPARAM lParam ); 
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_VIDEOTEST2DLG_H__43545335_089D_4D65_8076_164447F24E9D__INCLUDED_)

⌨️ 快捷键说明

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