RtreeView.h
资源名称:PasRTDat.rar [点击查看]
上传用户:shtiemo
上传日期:2017-12-29
资源大小:163k
文件大小:1k
源码类别:
能源行业(电力石油煤炭)
开发平台:
Visual C++
- // RtreeView.h : header file
- //
- #define ITEM_DEEP 3
- /////////////////////////////////////////////////////////////////////////////
- // CRtreeView view
- class CPasRTDatDoc;
- class CRtreeView : public CTreeView
- {
- protected:
- CRtreeView(); // protected constructor used by dynamic creation
- DECLARE_DYNCREATE(CRtreeView)
- // Attributes
- public:
- CImageList m_imagelist;
- HTREEITEM m_rghItem[100];
- // Operations
- public:
- void FillTree();
- CPasRTDatDoc *GetDoc();
- void AddOneItem( int nGrade, int nParentItem, LPARAM lParam, char* szItemName, UINT iItem );
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CRtreeView)
- public:
- virtual void OnInitialUpdate();
- protected:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- virtual ~CRtreeView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- // Generated message map functions
- protected:
- //{{AFX_MSG(CRtreeView)
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////