61 lines
1.3 KiB
C++
Executable File
61 lines
1.3 KiB
C++
Executable File
// PlayerTest1Dlg.h : 头文件
|
|
//
|
|
|
|
#pragma once
|
|
#include "afxwin.h"
|
|
#include "TcpmpPlayer.h"
|
|
|
|
// CPlayerTest1Dlg 对话框
|
|
class CPlayerTest1Dlg : public CDialog
|
|
{
|
|
private:
|
|
CTcpmpPlayer m_TcpPlayer;
|
|
// 构造
|
|
public:
|
|
CPlayerTest1Dlg(CWnd* pParent = NULL); // 标准构造函数
|
|
|
|
// 对话框数据
|
|
enum { IDD = IDD_PLAYERTEST1_DIALOG };
|
|
|
|
#ifdef WIN32_PLATFORM_WFSP
|
|
protected: // 控件条嵌入成员
|
|
CCommandBar m_dlgCommandBar;
|
|
#endif // WIN32_PLATFORM_WFSP
|
|
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
|
|
|
|
// 实现
|
|
protected:
|
|
HICON m_hIcon;
|
|
|
|
// 生成的消息映射函数
|
|
virtual BOOL OnInitDialog();
|
|
#if defined(_DEVICE_RESOLUTION_AWARE) && !defined(WIN32_PLATFORM_WFSP)
|
|
afx_msg void OnSize(UINT /*nType*/, int /*cx*/, int /*cy*/);
|
|
#endif
|
|
DECLARE_MESSAGE_MAP()
|
|
private:
|
|
// 视频窗体
|
|
CStatic m_labMedia;
|
|
private:
|
|
CButton m_butOpen;
|
|
private:
|
|
CButton m_butPlay;
|
|
private:
|
|
CButton m_butPause;
|
|
private:
|
|
CButton m_butPre;
|
|
private:
|
|
CButton m_butNext;
|
|
private:
|
|
CButton m_butStop;
|
|
afx_msg void OnBnClickedButtonOpen();
|
|
afx_msg void OnBnClickedButtonPlay();
|
|
afx_msg void OnBnClickedButtonPause();
|
|
afx_msg void OnBnClickedButtonPre();
|
|
afx_msg void OnBnClickedButtonNext();
|
|
afx_msg void OnBnClickedButtonStop();
|
|
afx_msg void OnStnClickedStaticMedia();
|
|
};
|