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

📄 collectionlisttree.h

📁 离线的RSS阅读器
💻 H
字号:
#if !defined(AFX_COLLECTIONLISTTREE_H__0ACEBC6C_CCCE_4C31_8B5D_B0B24BDDA34F__INCLUDED_)
#define AFX_COLLECTIONLISTTREE_H__0ACEBC6C_CCCE_4C31_8B5D_B0B24BDDA34F__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CCollectionListTree window

class CCollectionListTree : public CTreeCtrl
{
// Construction
public:
	CCollectionListTree();

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCollectionListTree)
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CCollectionListTree();
	afx_msg void OnBegindrag(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnDeleteitem(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnSelchanged(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnKillfocus(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnSetfocus(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void onDeleteCollection();

	HTREEITEM getItemByData(MyTreeNode *data,HTREEITEM h = TVI_ROOT);
	void OnCreate(LPCREATESTRUCT lpCreateStruct);

	// Generated message map functions
protected:
	//{{AFX_MSG(CCollectionListTree)
	afx_msg void OnCollectionNewcategory();
	afx_msg void OnCollectionDeletecategory();
	afx_msg void OnCollectionModifycategory();
/*	afx_msg void OnSelchanged(NMHDR* pNMHDR, LRESULT* pResult);*/
	//}}AFX_MSG

	CImageList m_image;
	bool m_isDrag;
	HTREEITEM m_dragItem;
	CImageList *m_dragImage;
	MyTreeNode* root;

	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_COLLECTIONLISTTREE_H__0ACEBC6C_CCCE_4C31_8B5D_B0B24BDDA34F__INCLUDED_)

⌨️ 快捷键说明

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