RemoteTimePlay.h 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. #if !defined(AFX_REMOTETIMEPLAY_H__5BB071F8_9C05_4D0E_8738_580396A33D1A__INCLUDED_)
  2. #define AFX_REMOTETIMEPLAY_H__5BB071F8_9C05_4D0E_8738_580396A33D1A__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // RemoteTimePlay.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CRemoteTimePlay dialog
  10. class CRemoteTimePlay : public CDialog
  11. {
  12. // Construction
  13. public:
  14. CRemoteTimePlay(CWnd* pParent = NULL); // standard constructor
  15. HWND m_hPareTabWnd;
  16. HWND m_hPareDlgWnd;
  17. LONG lHandle;
  18. BOOL m_bFullScreen;
  19. CRect m_rcScreen;
  20. CRect m_rcParent;
  21. CRect m_rcPareDlg;
  22. CRect m_rcPareTab;
  23. CRect m_rcWnd;
  24. BOOL m_bSound;
  25. LONG m_lStartChan;
  26. int iChannel;
  27. LONG ServerID;
  28. BOOL m_bPause;
  29. BOOL m_bDown;
  30. LONG m_lLoadHandle;
  31. BOOL m_bTimeSave;
  32. void SetParentWnd(HWND *hhWnd, int iParentNum);
  33. void F_StopPlay();
  34. void F_InitUI();
  35. void F_EnableFlashWnd(BOOL bEnable);
  36. void F_ShowNormal();
  37. void F_ShowFullScreen();
  38. BOOL IsInWnd(CPoint point);
  39. void F_SetPlayState();
  40. // Dialog Data
  41. //{{AFX_DATA(CRemoteTimePlay)
  42. enum { IDD = IDD_SUBDLG_REMOTETIME };
  43. CStatic m_PlayWnd;
  44. CSliderCtrl m_ctlVolume;
  45. CComboBox m_ServerName;
  46. CComboBox m_ChannelName;
  47. CTime m_ctDateStart;
  48. CTime m_ctDateStop;
  49. CTime m_ctTimeStart;
  50. CTime m_ctTimeStop;
  51. //}}AFX_DATA
  52. // Overrides
  53. // ClassWizard generated virtual function overrides
  54. //{{AFX_VIRTUAL(CRemoteTimePlay)
  55. protected:
  56. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  57. //}}AFX_VIRTUAL
  58. protected:
  59. HICON m_hSoundStartIcon;
  60. HICON m_hSoundStopIcon;
  61. HICON m_hPlayEnableIcon;
  62. HICON m_hPlayDisableIcon;
  63. HICON m_hPauseEnableIcon;
  64. HICON m_hPauseDisableIcon;
  65. HICON m_hStopEnableIcon;
  66. HICON m_hStopDisableIcon;
  67. HICON m_hGotoTailEnableIcon;
  68. HICON m_hGotoTailDisableIcon;
  69. HICON m_hFastDisableIcon;
  70. HICON m_hFastEnableIcon;
  71. HICON m_hSlowDisableIcon;
  72. HICON m_hSlowEnableIcon;
  73. HICON m_hStepBackEnableIcon;
  74. HICON m_hStepBackDisableIcon;
  75. HICON m_hCaptureIcon;
  76. // Implementation
  77. protected:
  78. // Generated message map functions
  79. //{{AFX_MSG(CRemoteTimePlay)
  80. virtual BOOL OnInitDialog();
  81. afx_msg void OnStop();
  82. afx_msg void OnSlow();
  83. afx_msg void OnFast();
  84. afx_msg void OnCappic();
  85. afx_msg void OnStep();
  86. afx_msg void OnSound();
  87. afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
  88. afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
  89. afx_msg void OnPlayTime();
  90. virtual void OnCancel();
  91. afx_msg void OnSelchangeComboserver();
  92. afx_msg void OnTimer(UINT nIDEvent);
  93. afx_msg void OnButtondownload();
  94. afx_msg void OnButtonloadsave();
  95. afx_msg void OnGotostart();
  96. //}}AFX_MSG
  97. DECLARE_MESSAGE_MAP()
  98. };
  99. //{{AFX_INSERT_LOCATION}}
  100. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  101. #endif // !defined(AFX_REMOTETIMEPLAY_H__5BB071F8_9C05_4D0E_8738_580396A33D1A__INCLUDED_)