MyOutput.h 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. #if !defined(AFX_MYOUTPUT_H__3AA4D4E4_4592_47A7_B42E_1B68A6E6C913__INCLUDED_)
  2. #define AFX_MYOUTPUT_H__3AA4D4E4_4592_47A7_B42E_1B68A6E6C913__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // MyOutput.h : header file
  7. //
  8. #include "StoneU_HC_OCX.h"
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CMyOutput dialog
  11. typedef struct{
  12. long bToScreen;
  13. long bToVideoOut;
  14. long nLeft;
  15. long nTop;
  16. long nWidth;
  17. long nHeight;
  18. long nReserved;
  19. }DISPLAY_PARA_OUT,*PDISPLAY_PARA_OUT;
  20. class CMyOutput : public CDialog
  21. {
  22. // Construction
  23. public:
  24. CMyOutput(CWnd* pParent = NULL); // standard constructor
  25. int m_iPlayhandle;
  26. BOOL m_bFileSave;
  27. BOOL m_bIsAutoSave;
  28. BOOL m_bNeedjudge;
  29. BOOL m_bPlaying;
  30. UINT m_iSubWndNumber;
  31. CString m_csIP;
  32. DWORD m_dwDVRIP;
  33. int m_iChannel;
  34. LONG m_lServerID;
  35. DISPLAY_PARA_OUT m_display_para;
  36. int m_iWindowNum;
  37. time_t m_lChangeFileNameTime;
  38. void StopNet();
  39. void StartNet(PIP_INFO ipinfo);
  40. void StartCard(PIP_INFO ipinfo);
  41. void invateframe();
  42. void CancelSelectZoom();
  43. // Dialog Data
  44. //{{AFX_DATA(CMyOutput)
  45. enum { IDD = IDD_MYOUTPUT };
  46. // NOTE: the ClassWizard will add data members here
  47. //}}AFX_DATA
  48. // Overrides
  49. // ClassWizard generated virtual function overrides
  50. //{{AFX_VIRTUAL(CMyOutput)
  51. public:
  52. virtual BOOL DestroyWindow();
  53. virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo);
  54. protected:
  55. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  56. //}}AFX_VIRTUAL
  57. // Implementation
  58. protected:
  59. // Generated message map functions
  60. //{{AFX_MSG(CMyOutput)
  61. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  62. afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
  63. afx_msg void OnDestroy();
  64. afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
  65. afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
  66. afx_msg void OnMouseMove(UINT nFlags, CPoint point);
  67. afx_msg void OnPaint();
  68. afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
  69. afx_msg void OnTimer(UINT nIDEvent);
  70. afx_msg void OnMenuFrontpage();
  71. afx_msg void OnMenuNextpage();
  72. afx_msg void OnMenuPausecycle();
  73. afx_msg void OnMenuSound();
  74. afx_msg void OnMenuMultiscreen();
  75. virtual BOOL OnInitDialog();
  76. afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
  77. //}}AFX_MSG
  78. DECLARE_MESSAGE_MAP()
  79. public:
  80. afx_msg BOOL OnEraseBkgnd(CDC* pDC);
  81. };
  82. //{{AFX_INSERT_LOCATION}}
  83. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  84. #endif // !defined(AFX_MYOUTPUT_H__3AA4D4E4_4592_47A7_B42E_1B68A6E6C913__INCLUDED_)