Description: CMenuBar: A toolbar that looks and acts exactly like a menu bar. It can be placed in a rebar control just like in Internet Explorer. It also draws icons next to menu items.
CAlphaImageList: A replacement for CImageList that supports images with alpha channel introduced in Windows XP. It automatically generates hot and disabled images looking like in Internet Explorer 6.
CAlphaToolBar: An extension of CToolBar that allows using alpha channel images. Platform: |
Size: 19648 |
Author:huat |
Hits:
Description: CMenuBar: A toolbar that looks and acts exactly like a menu bar. It can be placed in a rebar control just like in Internet Explorer. It also draws icons next to menu items.
CAlphaImageList: A replacement for CImageList that supports images with alpha channel introduced in Windows XP. It automatically generates hot and disabled images looking like in Internet Explorer 6.
CAlphaToolBar: An extension of CToolBar that allows using alpha channel images. Platform: |
Size: 19456 |
Author:huat |
Hits:
Description: 向对话框类中添加工具栏
在文档/视图结构中,添加工具栏是非常方便的,但在基于对话框的应用程序中,就稍稍复杂一点了。通常情况下,向对话框中添加工具栏有两种方法。
第一种方法:
特点:
① 使用CToolBar类,可以装载工具栏资源。
② 代码编写简单方便。
第二种方法:
特点:
① 使用CToolBarCtrl类,必须与CImageList类联合使用。
② 可以支持真彩色(32位)图标。
-Add a toolbar to the dialog class in the document/view architecture is very convenient to add the toolbar, dialog-based application, it is a little more complicated a little. Under normal circumstances, there are two ways to add a toolbar to the dialog box. The first method: Features: 鈶� CToolBar class, you can load the toolbar resource. The 鈶� coding simple and convenient. The second method: features: 鈶� CToolBarCtrl class must be used in conjunction with the CImageList class. (2) can support True Color (32) icon. Platform: |
Size: 12288 |
Author:zhenli |
Hits: