activemovie3.h
上传用户:sdpcwz
上传日期:2009-12-14
资源大小:1237k
文件大小:4k
源码类别:

书籍源码

开发平台:

Visual C++

  1. #if !defined(AFX_ACTIVEMOVIE3_H__69E30BDD_6D10_11D6_8F32_00E04CE76240__INCLUDED_)
  2. #define AFX_ACTIVEMOVIE3_H__69E30BDD_6D10_11D6_8F32_00E04CE76240__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  7. // NOTE: Do not modify the contents of this file.  If this class is regenerated by
  8. //  Microsoft Visual C++, your modifications will be overwritten.
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CActiveMovie3 wrapper class
  11. class CActiveMovie3 : public CWnd
  12. {
  13. protected:
  14. DECLARE_DYNCREATE(CActiveMovie3)
  15. public:
  16. CLSID const& GetClsid()
  17. {
  18. static CLSID const clsid
  19. = { 0x5589fa1, 0xc356, 0x11ce, { 0xbf, 0x1, 0x0, 0xaa, 0x0, 0x55, 0x59, 0x5a } };
  20. return clsid;
  21. }
  22. virtual BOOL Create(LPCTSTR lpszClassName,
  23. LPCTSTR lpszWindowName, DWORD dwStyle,
  24. const RECT& rect,
  25. CWnd* pParentWnd, UINT nID,
  26. CCreateContext* pContext = NULL)
  27. { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
  28.     BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
  29. const RECT& rect, CWnd* pParentWnd, UINT nID,
  30. CFile* pPersist = NULL, BOOL bStorage = FALSE,
  31. BSTR bstrLicKey = NULL)
  32. { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
  33. pPersist, bStorage, bstrLicKey); }
  34. // Attributes
  35. public:
  36. // Operations
  37. public:
  38. void AboutBox();
  39. void Run();
  40. void Pause();
  41. void Stop();
  42. long GetImageSourceWidth();
  43. long GetImageSourceHeight();
  44. CString GetAuthor();
  45. CString GetTitle();
  46. CString GetCopyright();
  47. CString GetDescription();
  48. CString GetRating();
  49. CString GetFileName();
  50. void SetFileName(LPCTSTR lpszNewValue);
  51. double GetDuration();
  52. double GetCurrentPosition();
  53. void SetCurrentPosition(double newValue);
  54. long GetPlayCount();
  55. void SetPlayCount(long nNewValue);
  56. double GetSelectionStart();
  57. void SetSelectionStart(double newValue);
  58. double GetSelectionEnd();
  59. void SetSelectionEnd(double newValue);
  60. long GetCurrentState();
  61. double GetRate();
  62. void SetRate(double newValue);
  63. long GetVolume();
  64. void SetVolume(long nNewValue);
  65. long GetBalance();
  66. void SetBalance(long nNewValue);
  67. BOOL GetEnableContextMenu();
  68. void SetEnableContextMenu(BOOL bNewValue);
  69. BOOL GetShowDisplay();
  70. void SetShowDisplay(BOOL bNewValue);
  71. BOOL GetShowControls();
  72. void SetShowControls(BOOL bNewValue);
  73. BOOL GetShowPositionControls();
  74. void SetShowPositionControls(BOOL bNewValue);
  75. BOOL GetShowSelectionControls();
  76. void SetShowSelectionControls(BOOL bNewValue);
  77. BOOL GetShowTracker();
  78. void SetShowTracker(BOOL bNewValue);
  79. BOOL GetEnablePositionControls();
  80. void SetEnablePositionControls(BOOL bNewValue);
  81. BOOL GetEnableSelectionControls();
  82. void SetEnableSelectionControls(BOOL bNewValue);
  83. BOOL GetEnableTracker();
  84. void SetEnableTracker(BOOL bNewValue);
  85. BOOL GetAllowHideDisplay();
  86. void SetAllowHideDisplay(BOOL bNewValue);
  87. BOOL GetAllowHideControls();
  88. void SetAllowHideControls(BOOL bNewValue);
  89. long GetDisplayMode();
  90. void SetDisplayMode(long nNewValue);
  91. BOOL GetAllowChangeDisplayMode();
  92. void SetAllowChangeDisplayMode(BOOL bNewValue);
  93. LPUNKNOWN GetFilterGraph();
  94. void SetFilterGraph(LPUNKNOWN newValue);
  95. LPDISPATCH GetFilterGraphDispatch();
  96. unsigned long GetDisplayForeColor();
  97. void SetDisplayForeColor(unsigned long newValue);
  98. unsigned long GetDisplayBackColor();
  99. void SetDisplayBackColor(unsigned long newValue);
  100. long GetMovieWindowSize();
  101. void SetMovieWindowSize(long nNewValue);
  102. BOOL GetFullScreenMode();
  103. void SetFullScreenMode(BOOL bNewValue);
  104. BOOL GetAutoStart();
  105. void SetAutoStart(BOOL bNewValue);
  106. BOOL GetAutoRewind();
  107. void SetAutoRewind(BOOL bNewValue);
  108. long GetHWnd();
  109. long GetAppearance();
  110. void SetAppearance(long nNewValue);
  111. long GetBorderStyle();
  112. void SetBorderStyle(long nNewValue);
  113. BOOL GetEnabled();
  114. void SetEnabled(BOOL bNewValue);
  115. BOOL IsSoundCardEnabled();
  116. long GetReadyState();
  117. LPDISPATCH GetMediaPlayer();
  118. };
  119. //{{AFX_INSERT_LOCATION}}
  120. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  121. #endif // !defined(AFX_ACTIVEMOVIE3_H__69E30BDD_6D10_11D6_8F32_00E04CE76240__INCLUDED_)