⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 clientdlg.h

📁 《Visual C++视频技术方案宝典》配套光盘
💻 H
字号:
// ClientDlg.h : header file
//

#if !defined(AFX_CLIENTDLG_H__150E3DAC_EDEF_4BFF_BF03_B405927CD6E7__INCLUDED_)
#define AFX_CLIENTDLG_H__150E3DAC_EDEF_4BFF_BF03_B405927CD6E7__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Sa7134Capture.h"
#include "MediaTransmit.h"
/////////////////////////////////////////////////////////////////////////////
// CClientDlg dialog

class CClientDlg : public CDialog
{
public:
	int             m_CardID;   //卡号
	int             m_CurIndex;
	int             m_BackID;
	CString         m_ServerIP; //服务器IP
	int             m_Port;     //服务器端口
	int             m_Chanel;   //视频通道
	BOOL            m_Captured; //是否开始捕捉
	BOOL            m_BackPlay; //是否进行视频回放

// Construction
public:
	void OnCancel();
	CClientDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CClientDlg)
	enum { IDD = IDD_CLIENT_DIALOG };
	CButton	m_Play;
	CButton	m_Capture;
	CStatic	m_Panel;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CClientDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CClientDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	virtual void OnOK();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnMove(int x, int y);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnLinkServer();
	afx_msg void OnCapture();
	afx_msg void OnBackplay();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CLIENTDLG_H__150E3DAC_EDEF_4BFF_BF03_B405927CD6E7__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -