| 发表于:2007-03-16 11:21:441楼 得分:30 |
stdafx.h中#include <bcgcbproinc.h> 先用classwizard添加一个普通的cbutton m_button1 控件变量 然后在dlg的头文件中改cbutton m_button1 为 cbcgpbutton m_button1 然后initdlg时设置按钮属性: m_button1 .m_btransparent = true; m_button1 .m_nflatstyle = cbcgpbutton::buttonstyle_semiflat; m_button1 .setimage (idb_xxx,idb_xxxx); | | |
|