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

📄 lefttreedisp.h

📁 51单片机学习的源代码
💻 H
字号:
#if !defined(AFX_LEFTTREEDISP_H__A26DC7E7_1F4D_4508_B80E_9C56D543AE1D__INCLUDED_)
#define AFX_LEFTTREEDISP_H__A26DC7E7_1F4D_4508_B80E_9C56D543AE1D__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CLeftTreeDisp view

#include <afxcview.h> //treeview非基本类
#include "mcdsDoc.h"

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

// Attributes
public:
	CMcdsDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CLeftTreeDisp)
	public:
	virtual void OnInitialUpdate();
	protected:
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
	virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
	//}}AFX_VIRTUAL

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

	// Generated message map functions
protected:
	int TreeItemNum(HTREEITEM TreeItemNum);
	HTREEITEM MarkTreeItemNum[23];

	//{{AFX_MSG(CLeftTreeDisp)
	afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
	afx_msg void OnDblclk(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in mcdsView.cpp
inline CMcdsDoc* CLeftTreeDisp::GetDocument()
{ return (CMcdsDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_LEFTTREEDISP_H__A26DC7E7_1F4D_4508_B80E_9C56D543AE1D__INCLUDED_)

⌨️ 快捷键说明

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