📄 clienttreedlgview.h
字号:
#if !defined(AFX_CLIENTTREEDLGVIEW_H__891099BA_A3EE_410D_A2CC_6D0AD0A14B55__INCLUDED_)
#define AFX_CLIENTTREEDLGVIEW_H__891099BA_A3EE_410D_A2CC_6D0AD0A14B55__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ClientTreeDlgView.h : header file
//
//#import "c:\Program Files\Common Files\System\ADO\msado15.dll" no_namespace rename("EOF", "EndOfFile")
#import "C:\Program Files\Common Files\System\ADO\msado15.dll" named_guids rename("EOF","adoEOF"), rename("BOF","adoBOF")
using namespace ADODB;
#include "StructureTree.h"
/////////////////////////////////////////////////////////////////////////////
// CClientTreeDlgView form view
#ifndef __AFXEXT_H__
#include <afxext.h>
#endif
class CClientTreeDlgView : public CFormView
{
protected:
CClientTreeDlgView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CClientTreeDlgView)
// Form Data
public:
//{{AFX_DATA(CClientTreeDlgView)
enum { IDD = IDD_TREE_DIALOG };
CStructureTree m_ClientTree;
//}}AFX_DATA
// Attributes
public:
CImageList m_TreeBootImage;//Tree的图标
_ConnectionPtr m_db;
// Operations
public:
int GetCurrentGroupId();
void DeleteSubTree(int ParentComputerGroupid);
void Refresh();
void AddSubTree(int ParTree, CString strChildTree, HTREEITEM hPartItem);
void AddTree();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CClientTreeDlgView)
public:
virtual void OnInitialUpdate();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CClientTreeDlgView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
//{{AFX_MSG(CClientTreeDlgView)
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnSelchangedClientTree(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnPopupNew();
afx_msg void OnPopupInstall();
afx_msg void OnPopupEdit();
afx_msg void OnPopupDelete();
afx_msg void OnPopupUninstall();
afx_msg void OnDblclkClientTree(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CLIENTTREEDLGVIEW_H__891099BA_A3EE_410D_A2CC_6D0AD0A14B55__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -