HistoryBar.cpp
资源名称:视频会议系统.rar [点击查看]
上传用户:popouu88
上传日期:2013-02-11
资源大小:2894k
文件大小:1k
源码类别:
IP电话/视频会议
开发平台:
Visual C++
- // HistoryBar.cpp : implementation file
- //
- #include "stdafx.h"
- #include "IE.h"
- #include "HistoryBar.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CHistoryBar
- CHistoryBar::CHistoryBar()
- {
- }
- CHistoryBar::~CHistoryBar()
- {
- }
- BEGIN_MESSAGE_MAP(CHistoryBar, CSizingControlBar)
- //{{AFX_MSG_MAP(CHistoryBar)
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CHistoryBar message handlers
- BOOL CHistoryBar::Create( CFrameWnd * pParentWnd )
- {
- if( CSizingControlBar::Create( "历史纪录" , pParentWnd, CSize( 230 , 260 ) , TRUE , 1 ) )
- {
- this->SetBarStyle( this->GetBarStyle() | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC );
- this->SetSCBStyle( SCBS_SIZECHILD );
- this->EnableDocking( CBRS_ALIGN_LEFT );
- pParentWnd->EnableDocking( CBRS_ALIGN_ANY );
- pParentWnd->DockControlBar( this , AFX_IDW_DOCKBAR_LEFT );
- this->m_tree.Create( WS_CHILD | WS_VISIBLE | TVS_HASBUTTONS | TVS_HASLINES | TVS_TRACKSELECT | TVS_INFOTIP | TVS_FULLROWSELECT | WS_BORDER | WS_TABSTOP , CRect( 0 , 0 , 1 , 1 ) , this , IDC_TREE );
- // ScrollBar( this->m_tree.GetSafeHwnd( ) );
- this->Initial( );
- return TRUE;
- }
- return FALSE;
- }
- void CHistoryBar::Initial( void )
- {
- }