TreeForHistory.h
上传用户:maryhy001
上传日期:2007-05-02
资源大小:2317k
文件大小:1k
源码类别:

网格计算

开发平台:

Visual C++

  1. #ifndef _TREE_FOR_HISTORY_H
  2. #define _TREE_FOR_HISTORY_H
  3. //
  4. typedef struct tagHisTreeData {
  5. UINT nNodeTxtId; //node text.
  6. int nLimitDays; //query limit day.
  7. int nItemType; //Sended | Received file tree node type.
  8. }HISTREEDATA, *PHISTREEDATA;
  9. class CTreeForHistory : public CTreeCtrl
  10. {
  11. // Construction
  12. public:
  13. CTreeForHistory();
  14. virtual ~CTreeForHistory();
  15. // Operations
  16. public:
  17. // Overrides
  18. //{{AFX_VIRTUAL(CTreeForHistory)
  19. //}}AFX_VIRTUAL
  20. // Generated message map functions
  21. protected:
  22. //{{AFX_MSG(CTreeForHistory)
  23. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  24. afx_msg void OnDestroy();
  25. afx_msg void OnSelchanged(NMHDR* pNMHDR, LRESULT* pResult);
  26. //}}AFX_MSG
  27. DECLARE_MESSAGE_MAP()
  28. protected:
  29. void MakeTree();
  30. void ReleaseTree();
  31. CImageList m_imgTree;
  32. };
  33. #endif //_TREE_FOR_HISTORY_H