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

📄 demo_usertreeview.h

📁 使用yacc的一个例子
💻 H
字号:
#if !defined(AFX_DEMO_USERTREEVIEW_H__A3834744_31BC_11D5_A619_0040054B7F84__INCLUDED_)
#define AFX_DEMO_USERTREEVIEW_H__A3834744_31BC_11D5_A619_0040054B7F84__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CDemo_UserTreeView view

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

// Attributes
public:
	CImageList	m_ImageList;
// Operations
public:
	void UpdateView(void);

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDemo_UserTreeView)
	public:
	virtual void OnInitialUpdate();
	protected:
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	//}}AFX_VIRTUAL

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

	// Generated message map functions
protected:
	//{{AFX_MSG(CDemo_UserTreeView)
	afx_msg void OnDblclk(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnDeleteitem(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_DEMO_USERTREEVIEW_H__A3834744_31BC_11D5_A619_0040054B7F84__INCLUDED_)

⌨️ 快捷键说明

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