a).如何在工具栏中,加上图标与文字?(how to add icon and text)
// set the text for each buttonctoolbarctrl& bar = m_wndtoolbar.gettoolbarctrl(); 【程序编程相关:J2EE还是.NET,这是一个问题】 /********************************************************************//* *//* function name : createhottoolbar *//* description : create the main toolbar. *//* *//********************************************************************/bool cmainframe::createhottoolbar(){if (!m_wndtoolbar.createex(this, tbstyle_flat, ws_child | ws_visible | cbrs_top| cbrs_tooltips | cbrs_flyby | cbrs_size_dynamic/*| cbrs_gripper*/) ||!m_wndtoolbar.loadtoolbar(idr_toolbar1)){trace0("failed to create toolbar\n");return false; // fail to create} 【推荐阅读:Mssql和Mysql的安全性分析】 int nindex = 0;tbbutton tb;... 下一页