FavoriteBar.h
资源名称:视频会议系统.rar [点击查看]
上传用户:popouu88
上传日期:2013-02-11
资源大小:2894k
文件大小:1k
源码类别:
IP电话/视频会议
开发平台:
Visual C++
- #if !defined(AFX_FAVORITEBAR_H__502068C6_6FEC_4333_9862_D31B5B6284A2__INCLUDED_)
- #define AFX_FAVORITEBAR_H__502068C6_6FEC_4333_9862_D31B5B6284A2__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // FavoriteBar.h : header file
- //
- #include "TreeCtrlEx.h"
- #include "SizeControlBarsizecbar.h"
- /////////////////////////////////////////////////////////////////////////////
- // CFavoriteBar window
- class CFavoriteBar : public CSizingControlBar
- {
- public:
- CFavoriteBar( );
- virtual ~CFavoriteBar( );
- virtual BOOL Create( CFrameWnd * pParentWnd );
- void GetCurURL( CString & url );
- void GetCurFullName( CString & name );
- protected:
- static void GetFavoriteFolder( CString & strPath );
- void BuildFavorites( CString strPath , HTREEITEM hTree = NULL );
- //{{AFX_VIRTUAL(CFavoriteBar)
- //}}AFX_VIRTUAL
- //{{AFX_MSG(CFavoriteBar)
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- CTreeCtrlEx m_tree;
- CString favoritePath;
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_FAVORITEBAR_H__502068C6_6FEC_4333_9862_D31B5B6284A2__INCLUDED_)