1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- #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()
- };
- //{{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_)
|