a).如何在工具栏中,加上图标与文字?(how to add icon and text)
【相关文章:wap 开发笔记 (一)】 /********************************************************************/ 【扩展阅读:一个碎片整理程序的实现】 【扩展信息:Active Server Page (】/* *//* 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 } // set the text for each button ctoolbarctrl& bar = m_wndtoolbar.gettoolbarctrl(); int nindex = 0; tbbutton tb; for (nindex = m_wndtoolbar.gettoolbarctrl().getbuttoncount() - 1; nindex >= 0; nindex--) { ... 下一页