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