netctlmregiondlg.h

来自「TM8000硬盘录像机客户端编程文档和Demo源代码」· C头文件 代码 · 共 65 行

H
65
字号
#if !defined(AFX_NETCTLMREGIONDLG_H__92088270_7B1F_44FE_8FBD_4666E6362731__INCLUDED_)
#define AFX_NETCTLMREGIONDLG_H__92088270_7B1F_44FE_8FBD_4666E6362731__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// NetCtlMRegionDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CNetCtlMRegionDlg dialog

class CNetCtlMRegionDlg : public CDialog
{
// Construction
public:
	CNetCtlMRegionDlg(CWnd* pParent = NULL);   // standard constructor
	void Refresh();
	void GetState(int nLastCheck,int No);
	BYTE   MotionCheck[52];
	BYTE   MaskCheck[52];
	int		nLastCheck;
// Dialog Data
	//{{AFX_DATA(CNetCtlMRegionDlg)
	enum { IDD = IDD_NETCTL_MREGION_DLG };
	CComboBox	m_PortCombo;
	BOOL	m_AllPort;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CNetCtlMRegionDlg)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
private:
	void PortSelChangePro();
	void MotionCheckChange(int No);
protected:
	HICON h_MIcon;
	HICON h_MaskIcon;
	CButton*	Motion[396];
	void OnButtonmotion(UINT nID);

	// Generated message map functions
	//{{AFX_MSG(CNetCtlMRegionDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSetButton();
	afx_msg void OnSelchangePortCombo();
	afx_msg void OnBtnSelall();
	afx_msg void OnBtnDisselall();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_NETCTLMREGIONDLG_H__92088270_7B1F_44FE_8FBD_4666E6362731__INCLUDED_)

⌨️ 快捷键说明

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