VC多工具栏停靠
摘要:
在CMainFrame中声明成员函数,并调用即可。//barName TOOLBAR资源名称void CMainFrame::DockControlBarEx(CToolBar *bar, LPCTSTR barName){if (!bar->CreateEx(this, TBSTYLE_FLAT, WS_CHILD | WS_VISIBLE | CBRS_TOP| CBRS_GRIPPER | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC) ||!bar->LoadToolBar(barName)){TRACE0("Fai 阅读全文
posted @ 2007-05-24 11:24 goodvify 阅读(316) 评论(0) 推荐(0) 编辑