TreeForHistory.h
上传用户:maryhy001
上传日期:2007-05-02
资源大小:2317k
文件大小:1k
- #ifndef _TREE_FOR_HISTORY_H
- #define _TREE_FOR_HISTORY_H
- //
- typedef struct tagHisTreeData {
- UINT nNodeTxtId; //node text.
- int nLimitDays; //query limit day.
- int nItemType; //Sended | Received file tree node type.
- }HISTREEDATA, *PHISTREEDATA;
- class CTreeForHistory : public CTreeCtrl
- {
- // Construction
- public:
- CTreeForHistory();
- virtual ~CTreeForHistory();
- // Operations
- public:
- // Overrides
- //{{AFX_VIRTUAL(CTreeForHistory)
- //}}AFX_VIRTUAL
- // Generated message map functions
- protected:
- //{{AFX_MSG(CTreeForHistory)
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- afx_msg void OnDestroy();
- afx_msg void OnSelchanged(NMHDR* pNMHDR, LRESULT* pResult);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- protected:
- void MakeTree();
- void ReleaseTree();
- CImageList m_imgTree;
- };
- #endif //_TREE_FOR_HISTORY_H