collectionlisttree.h
来自「离线的RSS阅读器」· C头文件 代码 · 共 70 行
H
70 行
#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 + =
减小字号Ctrl + -
显示快捷键?