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

📄 picsmall.h

📁 实时监控
💻 H
字号:
#if !defined(AFX_PICSMALL_H__20F151EA_9912_4FB0_ABCF_81E8400C09F3__INCLUDED_)
#define AFX_PICSMALL_H__20F151EA_9912_4FB0_ABCF_81E8400C09F3__INCLUDED_

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

#define WM_MY_SHOW				WM_USER+145
#define	WM_MY_DELETE			WM_USER+146
#define WM_MY_SAVE				WM_USER+147
#define	WM_MY_SHOWALL			WM_USER+148
#define WM_MY_MAPDELETE			WM_USER+149
#define WM_MY_MOVE				WM_USER+150
#define	WM_MY_ALARM				WM_USER+151
#define ELE_MAP_MSG_SENSOR_ALARM	WM_USER+171
#define ELE_MAP_MSG_MOTION_ALARM	WM_USER+172
#define ELE_MAP_MSG_VLOST_ALARM		WM_USER+173
#define ELE_MAP_MSG_RECORD_ALARM	WM_USER+174
#define ELE_MAP_MSG_OPEN_VEDIO	    WM_USER+175
#define style_nomal				0 
#define style_record			1 
#define style_no_motion			2 
#define style_re_motion			3 
#define style_no_vlost			4 
#define style_re_vlost			5
#define style_no_motion_vlost	6
#define style_re_motion_vlost	7

#define msg_nomal				0
#define msg_record				1
#define msg_motion				2
#define msg_vlost				3
#define msg_motion1				4	 
#define msg_vlost1				5
#define msg_sensor				6
#define msg_sensor1				7		

#define msg_pc_sensor			0
#define msg_pc_sensor1			1
#define msg_pc_motion			2
#define msg_pc_motion1			3
#define msg_pc_vlost			4
#define msg_pc_vlost1			5

			
/////////////////////////////////////////////////////////////////////////////
// CPicSmall dialog
#include "IPicture.h"

#include "FixtureState.h"

class CPicSmall : public CDialog
{
// Construction
public:
	CPicSmall(CWnd* pParent = NULL);   // standard constructor
	char	pPicString[250] ;
	CFixtureState *pStateDlg ;
	int		no  ,channel ,port ,type ,style ;
	ULONG ip ;
	BOOL	bNew ,bRecord ;
	BOOL	bVlost ,bMotion ,bSensor ;
	BOOL	bMove ;
	CString strFile ;
	CString name ;
	~CPicSmall() ;
	CToolTipCtrl tip_ctrl;

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


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPicSmall)
	public:
	virtual BOOL Create(CWnd* pParentWnd);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	virtual void PostNcDestroy();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CPicSmall)
	afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnAttributemenuDelete();
	afx_msg void OnPaint();
	afx_msg void OnAttributemenuAttribute();
	afx_msg void OnLButtonDblClk(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_PICSMALL_H__20F151EA_9912_4FB0_ABCF_81E8400C09F3__INCLUDED_)

⌨️ 快捷键说明

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