treectrlex.h

来自「用VC写的监控中心后台程序。 代码全」· C头文件 代码 · 共 89 行

H
89
字号
#if !defined(AFX_TREECTRLEX_H__C4365668_9FFC_11D8_B7C5_000EA68585EB__INCLUDED_)
#define AFX_TREECTRLEX_H__C4365668_9FFC_11D8_B7C5_000EA68585EB__INCLUDED_

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

#include "ProcSM.h"
//#include "GPsSCView.h"

/////////////////////////////////////////////////////////////////////////////
// CTreeCtrlEx window

class CTreeCtrlEx : public CTreeCtrl
{
// Construction
public:
	CTreeCtrlEx();

// Attributes
public:
	CMenu		m_PopMenu,*m_pMenu;
	CProcSM		*m_pProcSM;


// Operations
public:
	bool		Init(CProcSM *pProcSM);
	bool		GetCarPhoneAndPassword();

public:
	HTREEITEM	m_hTreeItem;
	CString		m_strCarPhone;			//车载电话
	CString		m_strPassWord;

	CString		m_strGetItemText;
protected:
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTreeCtrlEx)
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CTreeCtrlEx();

	// Generated message map functions

protected:
	//{{AFX_MSG(CTreeCtrlEx)
	afx_msg void OnRButtonDown(UINT nFlags,CPoint point);
	afx_msg void OnPopAutomonitor();
	afx_msg void OnPopGethelp();
	afx_msg void OnPopGetvehicleposition();
	afx_msg void OnPopOpenlock();
	afx_msg void OnPopSendinfotogroup();
	afx_msg void OnPopSendnormalsm();
	afx_msg void OnPopSetlock();
	afx_msg void OnPopShutoil();
	afx_msg void OnUpdatePopShutoil(CCmdUI* pCmdUI);
	afx_msg void OnUpdatePopSetlock(CCmdUI* pCmdUI);
	afx_msg void OnUpdatePopSendnormalsm(CCmdUI* pCmdUI);
	afx_msg void OnUpdatePopSendinfotogroup(CCmdUI* pCmdUI);
	afx_msg void OnUpdatePopOpenlock(CCmdUI* pCmdUI);
	afx_msg void OnUpdatePopGetvehicleposition(CCmdUI* pCmdUI);
	afx_msg void OnUpdatePopGethelp(CCmdUI* pCmdUI);
	afx_msg void OnUpdatePopAutomonitor(CCmdUI* pCmdUI);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnPopCancelautomonitor();
	afx_msg void OnUpdatePopCancelautomonitor(CCmdUI* pCmdUI);
	afx_msg void OnPopSetCurrMonitorCar();
	afx_msg void OnUpdatePopSetCurrMonitorCar(CCmdUI* pCmdUI);
	afx_msg void OnPopCancelCurrMonitorCar();
	afx_msg void OnUpdatePopCancelCurrMonitorCar(CCmdUI* pCmdUI);
	afx_msg void OnInitMenuPopup(CMenu* pPopupMenu, UINT nIndex, BOOL bSysMenu);
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_TREECTRLEX_H__C4365668_9FFC_11D8_B7C5_000EA68585EB__INCLUDED_)

⌨️ 快捷键说明

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