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

📄 nodetreeview.h

📁 实现规则推理 模糊识别 神经网络的专家系统
💻 H
字号:
#if !defined(AFX_NODETREEVIEW_H__6CEF58DE_2D6B_47D7_B70A_04509CB29B7A__INCLUDED_)
#define AFX_NODETREEVIEW_H__6CEF58DE_2D6B_47D7_B70A_04509CB29B7A__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CNodeTreeView form view

#ifndef __AFXEXT_H__
#include <afxext.h>
#endif

#include "ado.h"

//先声明这三个类
class CRuleDefineView ;
class CRuleWizardView;   
class CTipView ; 
class CMainFrame;

class CNodeTreeView : public CFormView
{
protected:
	CNodeTreeView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CNodeTreeView)

// Form Data
public:
	//{{AFX_DATA(CNodeTreeView)
	enum { IDD = IDD_NODETREE_FORM };
	//}}AFX_DATA

// Attributes
public:

// Operations
public:
	void RecurCreateTree(TV_INSERTSTRUCT tvinsert,CADORecordset& recordset);
	void CreateTreeFromDb();
	CView* GetView(CRuntimeClass* pClass);
	int GetNodeID();
	

private:
	CTreeCtrl	m_cNodeTree;
	CImageList  m_imageList;

	

	bool   m_NodeTreeViewCreated;



	CRuleWizardView *m_pRwView;
	CRuleDefineView *m_pRdView;
	//CNodeTreeView   *m_pNtView;
	CTipView        *m_pTipView;
	CMainFrame    *m_pMainWnd;
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CNodeTreeView)
	public:
	virtual void OnInitialUpdate();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void OnDraw(CDC* pDC);
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CNodeTreeView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
	//{{AFX_MSG(CNodeTreeView)
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnSelchangedNodeTree(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnRclickNodetree(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_NODETREEVIEW_H__6CEF58DE_2D6B_47D7_B70A_04509CB29B7A__INCLUDED_)

⌨️ 快捷键说明

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