tree.h

来自「一个实用的GIS系统的系统维护模块」· C头文件 代码 · 共 70 行

H
70
字号
#if !defined(AFX_TREE_H__CD919804_0F43_4742_A591_283600C4C298__INCLUDED_)
#define AFX_TREE_H__CD919804_0F43_4742_A591_283600C4C298__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Tree.h : header file
//
#include "WinXPButtonST.h"
/////////////////////////////////////////////////////////////////////////////
// CTree dialog

class CTree : public CDialog
{
// Construction
public:
	void clear();
	_RecordsetPtr m_pRecordset; ///一个记录集指针
	_RecordsetPtr m_pRecordset1;///另一个记录指针
	int transID;
	long recNum;
	int DscodeCount;
	CStringArray Dscode,Privil;
	void ShowTree();
	_variant_t vDcode,vFullname,vShortname,vType,vPriviID,vPrivil;
	CTree(CWnd* pParent = NULL);   // standard constructor
	

// Dialog Data
	//{{AFX_DATA(CTree)
	enum { IDD = IDD_SHUDIALOG };
	CWinXPButtonST	m_cancel;
	CWinXPButtonST	m_exit;
	CTreeCtrl	m_tree;
	CString	m_code;
	CString	m_fullname;
	CString	m_shortname;
	CString	m_type;
	CString	m_usetype;
	//}}AFX_DATA

	//BOOL				Create();
	virtual void		OnOK();
	virtual void		OnCancel();
	
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTree)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//virtual void PostNcDestroy();
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CTree)
	virtual BOOL OnInitDialog();
	afx_msg void OnDblclkTree1(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnClickTree1(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_TREE_H__CD919804_0F43_4742_A591_283600C4C298__INCLUDED_)

⌨️ 快捷键说明

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