videotest2dlg.h
来自「演示wince 下如何使用mediaplay 控件播放媒体文件. 程序中还演示了」· C头文件 代码 · 共 62 行
H
62 行
// 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 + =
减小字号Ctrl + -
显示快捷键?