FolderListView.h
上传用户:szcysw
上传日期:2013-03-11
资源大小:6752k
文件大小:2k
- #if !defined(AFX_FOLDERLISTVIEW_H__33B79F65_355D_11D3_9922_00500487D199__INCLUDED_)
- #define AFX_FOLDERLISTVIEW_H__33B79F65_355D_11D3_9922_00500487D199__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // FolderListView.h : header file
- //
- #define FM_CLOSEFOLDERLISTVIEW (WM_USER + 100)
- /////////////////////////////////////////////////////////////////////////////
- // CFolderListView view
- #define FM_CLOSEFOLDERLISTVIEW (WM_USER + 100)
- class CFolderListView : public CView
- {
- protected:
- CFolderListView();
- DECLARE_DYNCREATE(CFolderListView)
- public:
- //保存6个根节点
- HTREEITEM hti[6];
- //视图标题
- CCJCaption m_Caption;
- //视图按钮,主要用于关闭视图
- CCJFlatButton m_CaptionButton;
- //树控件使用的图像列表
- CImageList m_ImageList, m_ImageSmall;
- //树控件
- static CCJTreeCtrl m_TreeCtrl;
- protected:
- virtual void OnDraw(CDC* pDC);
- protected:
- virtual ~CFolderListView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- //{{AFX_MSG(CFolderListView)
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- afx_msg void OnSize(UINT nType, int cx, int cy);
- afx_msg void OnCaptButton();
- afx_msg void OnSelchanged(NMHDR* pNMHDR, LRESULT* pResult);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_FOLDERLISTVIEW_H__33B79F65_355D_11D3_9922_00500487D199__INCLUDED_)