test232dlg.h

来自「模拟数字硬盘录像机部分功能」· C头文件 代码 · 共 86 行

H
86
字号
// test232Dlg.h : header file
//
#include "comm.h"
#if !defined(AFX_TEST232DLG_H__75D5266F_51B0_421D_8735_F5A1176FDCF0__INCLUDED_)
#define AFX_TEST232DLG_H__75D5266F_51B0_421D_8735_F5A1176FDCF0__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CTest232Dlg dialog

class CTest232Dlg : public CDialog
{
// Construction
public:
	CTest232Dlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CTest232Dlg)
	enum { IDD = IDD_TEST232_DIALOG };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTest232Dlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;
    cnComm com;
	short Ctrl;//定义一个变量储存表示选择的是云台控制还是录像机控制
	short MonitorNum;//定义一个变量用于存储表示选择的是哪一个监视器
	// Generated message map functions
	//{{AFX_MSG(CTest232Dlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnMonitor1();
	afx_msg void OnMonitor2();
	afx_msg void OnMonitor3();
	afx_msg void OnMonitor4();
	afx_msg void OnUp();
	afx_msg void OnDown();
	afx_msg void OnLeft();
	afx_msg void OnRight();
	afx_msg void OnMiddle();
	afx_msg void OnClose();
	afx_msg void OnOpen();
	afx_msg void OnNear();
	afx_msg void OnFar();
	afx_msg void OnWide();
	afx_msg void OnTele();
	afx_msg void OnOff();
	afx_msg void OnOn();
	afx_msg void OnButton1();
	afx_msg void OnButton2();
	afx_msg void OnButton3();
	afx_msg void OnButton4();
	afx_msg void OnButton5();
	afx_msg void OnButton6();
	afx_msg void OnButton7();
	afx_msg void OnButton8();
	afx_msg void OnButton9();
	afx_msg void OnButton10();
	afx_msg void OnButton11();
	afx_msg void OnButton12();
	afx_msg void OnButton13();
	afx_msg void OnButton14();
	afx_msg void OnButton15();
	afx_msg void OnButton16();
	afx_msg void OnYuntaiControl();
	afx_msg void OnVcrControl();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_TEST232DLG_H__75D5266F_51B0_421D_8735_F5A1176FDCF0__INCLUDED_)

⌨️ 快捷键说明

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