shockwaveflash.h 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. #if !defined(AFX_SHOCKWAVEFLASH_H__107CC128_F583_4A6F_86D7_F2E16AAE12A0__INCLUDED_)
  2. #define AFX_SHOCKWAVEFLASH_H__107CC128_F583_4A6F_86D7_F2E16AAE12A0__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. // CShockwaveFlash wrapper class
  11. class CShockwaveFlash : public CWnd
  12. {
  13. protected:
  14. DECLARE_DYNCREATE(CShockwaveFlash)
  15. public:
  16. CLSID const& GetClsid()
  17. {
  18. static CLSID const clsid
  19. = { 0xd27cdb6e, 0xae6d, 0x11cf, { 0x96, 0xb8, 0x44, 0x45, 0x53, 0x54, 0x0, 0x0 } };
  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. long GetReadyState();
  39. long GetTotalFrames();
  40. BOOL GetPlaying();
  41. void SetPlaying(BOOL bNewValue);
  42. long GetQuality();
  43. void SetQuality(long nNewValue);
  44. long GetScaleMode();
  45. void SetScaleMode(long nNewValue);
  46. long GetAlignMode();
  47. void SetAlignMode(long nNewValue);
  48. long GetBackgroundColor();
  49. void SetBackgroundColor(long nNewValue);
  50. BOOL GetLoop();
  51. void SetLoop(BOOL bNewValue);
  52. CString GetMovie();
  53. void SetMovie(LPCTSTR lpszNewValue);
  54. long GetFrameNum();
  55. void SetFrameNum(long nNewValue);
  56. void SetZoomRect(long left, long top, long right, long bottom);
  57. void Zoom(long factor);
  58. void Pan(long x, long y, long mode);
  59. void Play();
  60. void Stop();
  61. void Back();
  62. void Forward();
  63. void Rewind();
  64. void StopPlay();
  65. void GotoFrame(long FrameNum);
  66. long CurrentFrame();
  67. BOOL IsPlaying();
  68. long PercentLoaded();
  69. BOOL FrameLoaded(long FrameNum);
  70. long FlashVersion();
  71. CString GetWMode();
  72. void SetWMode(LPCTSTR lpszNewValue);
  73. CString GetSAlign();
  74. void SetSAlign(LPCTSTR lpszNewValue);
  75. BOOL GetMenu();
  76. void SetMenu(BOOL bNewValue);
  77. CString GetBase();
  78. void SetBase(LPCTSTR lpszNewValue);
  79. CString GetScale();
  80. void SetScale(LPCTSTR lpszNewValue);
  81. BOOL GetDeviceFont();
  82. void SetDeviceFont(BOOL bNewValue);
  83. BOOL GetEmbedMovie();
  84. void SetEmbedMovie(BOOL bNewValue);
  85. CString GetBGColor();
  86. void SetBGColor(LPCTSTR lpszNewValue);
  87. CString GetQuality2();
  88. void SetQuality2(LPCTSTR lpszNewValue);
  89. void LoadMovie(long layer, LPCTSTR url);
  90. void TGotoFrame(LPCTSTR target, long FrameNum);
  91. void TGotoLabel(LPCTSTR target, LPCTSTR label);
  92. long TCurrentFrame(LPCTSTR target);
  93. CString TCurrentLabel(LPCTSTR target);
  94. void TPlay(LPCTSTR target);
  95. void TStopPlay(LPCTSTR target);
  96. void SetVariable(LPCTSTR name, LPCTSTR value);
  97. CString GetVariable(LPCTSTR name);
  98. void TSetProperty(LPCTSTR target, long property, LPCTSTR value);
  99. CString TGetProperty(LPCTSTR target, long property);
  100. void TCallFrame(LPCTSTR target, long FrameNum);
  101. void TCallLabel(LPCTSTR target, LPCTSTR label);
  102. void TSetPropertyNum(LPCTSTR target, long property, double value);
  103. double TGetPropertyNum(LPCTSTR target, long property);
  104. double TGetPropertyAsNumber(LPCTSTR target, long property);
  105. CString GetSWRemote();
  106. void SetSWRemote(LPCTSTR lpszNewValue);
  107. CString GetFlashVars();
  108. void SetFlashVars(LPCTSTR lpszNewValue);
  109. CString GetAllowScriptAccess();
  110. void SetAllowScriptAccess(LPCTSTR lpszNewValue);
  111. };
  112. //{{AFX_INSERT_LOCATION}}
  113. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  114. #endif // !defined(AFX_SHOCKWAVEFLASH_H__107CC128_F583_4A6F_86D7_F2E16AAE12A0__INCLUDED_)