联盟首页 协同开发 共创软件 开放源码 软件工程 共创论坛 关于联盟
  您的位置 » 开放源码库【成熟 - 项目摘要 首页 | 分类源码 | 提交源码 | 下载统计 | 原创源码 | 成熟源码 | 代码片断
 
 Using Hot Toolbar Buttons - 项目摘要
摘要 | 管理 | 论坛
文档 | 软件包

源码库中源码数量为19221
有贡献人员名单:

-= 更多 =-
  • ffdshow
  • jasperreports
  • PoolMan
  • Air Traffic Controller
  • virtualdub-win
  • CppUnit
  • Apache-SSL-Jserv
  • FCK editor
  • Async Professional
  • GLgraph
  • -= 更多 =-

    项目描述:
    If you wanted to add hot toolbar buttons like the ones seen in internet explorer, it is pretty straight forward. This approach for will work for both Visual C++ 5 and 6, however you may want to read up on the enhancements to the toolbar class for VC 6.0.

    After your toolbar has been created in CMainFrame::OnCreate(), you will need to add the following code, this is assuming that you have two bitmap resources already created IDB_TOOLBAR_COLD for normal, and IDB_TOOLBAR_HOT for hot buttons:

    使用Hot Toolbar Buttons

    如果你想增加一个像Internet Explorer中的那样的Hot Toolbar的话,那你最好是一直坚持下去。通过Visual C++5或6都可以做到,然而因为VC6.0中工具栏的增强,你可能想继续下去。
    你在CMainFrame::OnCreate()中创建你的工具栏后,你需要添加下面的代码,这里假定你已经创建了两个位图资源,为不同按钮创建的IDB_TOOLBAR_COLD和为hot buttons创建的IDB_TOOLBAR_HOT。

    来源: http://www.codeguru.com/toolbar/demo_toolbar_e.shtml
    类别:
    发布者: cbd002

    最新发布源码包
    软件包 版本号 日期 本地下载
    demo_toolbar  1.0  2004-04-19 下载

    原始下载连接(国外) http://www.codeguru.com/code/legacy/toolbar/demo_toolbar_e.zip

      » 合 作 伙 伴