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

📄 configalarmmotionareablock.h

📁 大华DVR的客户端开发包和Demo,从网上是下载不到的。
💻 H
字号:
#if !defined(AFX_CONFIGALARMMOTIONAREABLOCK_H__0B2DC7D3_494D_49F0_B752_9542B28C0472__INCLUDED_)
#define AFX_CONFIGALARMMOTIONAREABLOCK_H__0B2DC7D3_494D_49F0_B752_9542B28C0472__INCLUDED_

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


//MESSAGE FOR CHANGE COLOR

#define		MSG_SELETED					WM_USER + 2007
#define		MSG_SHOW					WM_USER + 2008

/////////////////////////////////////////////////////////////////////////////
// CConfigAlarmMotionAreaBlock dialog

class CConfigAlarmMotionAreaBlock : public CWnd
{
// Construction
public:
	CConfigAlarmMotionAreaBlock();   // standard constructor

// Dialog Data
	//{{AFX_DATA(CConfigAlarmMotionAreaBlock)
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CConfigAlarmMotionAreaBlock)
	public:
	virtual BOOL DestroyWindow();
	protected:
	virtual LRESULT DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam);
	//}}AFX_VIRTUAL
	afx_msg void OnSeleted(WPARAM wParam, LPARAM lParam);
	afx_msg void OnShow(WPARAM wParam, LPARAM lParam);
// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CConfigAlarmMotionAreaBlock)
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

public:
	BOOL IsSeleted(){return m_bSelected;}
	void SetPos(BYTE x, BYTE y);
	void SetStatus(BOOL selected){m_bSelected = selected;}
	
private:
	CBrush m_whiteBrush;
	CBrush m_blueBrush;
	CBrush *m_brush;
	BOOL   m_bSelected;
	BYTE   m_byX;
	BYTE   m_byY;
};

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

#endif // !defined(AFX_CONFIGALARMMOTIONAREABLOCK_H__0B2DC7D3_494D_49F0_B752_9542B28C0472__INCLUDED_)

⌨️ 快捷键说明

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