tree.h

来自「VC做的矢量画图程序!」· C头文件 代码 · 共 71 行

H
71
字号
#if !defined(AFX_TREE_H__CCE027A8_5BAE_44E6_89B7_E00CD463EE4A__INCLUDED_)
#define AFX_TREE_H__CCE027A8_5BAE_44E6_89B7_E00CD463EE4A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Tree.h : header file
//
#include <afxcview.h>
class CBrowseDlg;	// Added by ClassView
class CLinkDlg;
class CLinkDataSet;

/////////////////////////////////////////////////////////////////////////////
// CTree view

class CTree : public CTreeView
{
protected:
	CTree();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CTree)

// Attributes
public:
	int m_TreeWide;
	int m_TreeHeight;
	CString  *SelID;
	int n_SelID;

// Operations
public:
	int m_PlSelType;
	void ShowSelData();
	CLinkDlg * pLinkDlg;
	CImageList m_TreeImage;
	CBrowseDlg * pBrowseDlg;
	CLinkDataSet * pLinkSet;

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTree)
	protected:
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
	//}}AFX_VIRTUAL

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

	// Generated message map functions
protected:
	//{{AFX_MSG(CTree)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	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_TREE_H__CCE027A8_5BAE_44E6_89B7_E00CD463EE4A__INCLUDED_)

⌨️ 快捷键说明

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