VideoPlayerDlg.h
上传用户:zbtianhong
上传日期:2022-07-12
资源大小:3707k
文件大小:2k
源码类别:

多媒体编程

开发平台:

Visual C++

  1. // VideoPlayerDlg.h : header file
  2. //
  3. #include "wmpplayer4.h"
  4. #if !defined(AFX_VIDEOPLAYERDLG_H__22E0DE5C_6785_4FAE_876B_AC9BFECD8FD0__INCLUDED_)
  5. #define AFX_VIDEOPLAYERDLG_H__22E0DE5C_6785_4FAE_876B_AC9BFECD8FD0__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CVideoPlayerDlg dialog
  11. class CVideoPlayerDlg : public CDialog
  12. {
  13. // Construction
  14. public:
  15. CVideoPlayerDlg(CWnd* pParent = NULL); // standard constructor
  16. // Dialog Data
  17. //{{AFX_DATA(CVideoPlayerDlg)
  18. enum { IDD = IDD_VIDEOPLAYER_DIALOG };
  19. CWMPPlayer4 m_MediaPlayer;
  20. // NOTE: the ClassWizard will add data members here
  21. //}}AFX_DATA
  22. // ClassWizard generated virtual function overrides
  23. //{{AFX_VIRTUAL(CVideoPlayerDlg)
  24. protected:
  25. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  26. //}}AFX_VIRTUAL
  27. // Implementation
  28. protected:
  29. HICON m_hIcon;
  30. // Generated message map functions
  31. //{{AFX_MSG(CVideoPlayerDlg)
  32. virtual BOOL OnInitDialog();
  33. afx_msg void OnPaint();
  34. afx_msg HCURSOR OnQueryDragIcon();
  35. afx_msg void OnFileOpen();
  36. afx_msg void OnFileQuit();
  37. afx_msg void OnHelpUsage();
  38. afx_msg void OnHelpAboutDeveloper();
  39. //}}AFX_MSG
  40. DECLARE_MESSAGE_MAP()
  41. private:
  42. CString m_csPathName;
  43. };
  44. //{{AFX_INSERT_LOCATION}}
  45. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  46. #endif // !defined(AFX_VIDEOPLAYERDLG_H__22E0DE5C_6785_4FAE_876B_AC9BFECD8FD0__INCLUDED_)