16,550
社区成员
发帖
与我相关
我的任务
分享 ///////////////////////////////
if (!m_Tiaotop.Create(this, IDD_TIAOTOP, CBRS_LEFT,IDD_TIAOTOP))
{
TRACE0("Failed to create dialog bar\n");
return -1; // fail to create
}
m_Tiaotop.SetBarStyle(m_wndToolBar.GetBarStyle() |
CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC);
m_Tiaotop.EnableDocking(CBRS_ALIGN_ANY);
DockControlBar(&m_Tiaotop);
//////////////////////////////
if(!m_Tiaoleft.Create(this, IDD_TIAOLEFT, CBRS_LEFT,IDD_TIAOLEFT))
{
TRACE0("Failed to create dialog bar\n");
return -1; // fail to create
}
m_Tiaoleft.SetBarStyle(m_wndToolBar.GetBarStyle() |
CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC);
m_Tiaotop.EnableDocking(CBRS_ALIGN_ANY);
DockControlBar(&m_Tiaoleft);