12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- #if !defined(AFX_MYOUTPUT_H__3AA4D4E4_4592_47A7_B42E_1B68A6E6C913__INCLUDED_)
- #define AFX_MYOUTPUT_H__3AA4D4E4_4592_47A7_B42E_1B68A6E6C913__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // MyOutput.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CMyOutput dialog
- typedef struct{
- long bToScreen;
- long bToVideoOut;
- long nLeft;
- long nTop;
- long nWidth;
- long nHeight;
- long nReserved;
- }DISPLAY_PARA_OUT,*PDISPLAY_PARA_OUT;
- class CMyOutput : public CDialog
- {
- // Construction
- public:
- CMyOutput(CWnd* pParent = NULL); // standard constructor
- int m_iPlayhandle;
- BOOL m_bFileSave;
- BOOL m_bIsAutoSave;
- BOOL m_bNeedjudge;
- BOOL m_bPlaying;
- UINT m_iSubWndNumber;
- CString m_csIP;
- DWORD m_dwDVRIP;
- int m_iChannel;
- LONG m_lServerID;
- DISPLAY_PARA_OUT m_display_para;
- int m_iWindowNum;
- time_t m_lChangeFileNameTime;
-
- void StopNet();
- void StartNet(PIP_INFO ipinfo);
- void StartCard(PIP_INFO ipinfo);
- void invateframe();
- void CancelSelectZoom();
- // Dialog Data
- //{{AFX_DATA(CMyOutput)
- enum { IDD = IDD_MYOUTPUT };
- // NOTE: the ClassWizard will add data members here
- //}}AFX_DATA
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMyOutput)
- public:
- virtual BOOL DestroyWindow();
- virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo);
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CMyOutput)
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
- afx_msg void OnDestroy();
- afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
- afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
- afx_msg void OnMouseMove(UINT nFlags, CPoint point);
- afx_msg void OnPaint();
- afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
- afx_msg void OnTimer(UINT nIDEvent);
- afx_msg void OnMenuFrontpage();
- afx_msg void OnMenuNextpage();
- afx_msg void OnMenuPausecycle();
- afx_msg void OnMenuSound();
- afx_msg void OnMenuMultiscreen();
- virtual BOOL OnInitDialog();
- afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- public:
- afx_msg BOOL OnEraseBkgnd(CDC* pDC);
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_MYOUTPUT_H__3AA4D4E4_4592_47A7_B42E_1B68A6E6C913__INCLUDED_)
|