2010年12月20日

CMFCRibbonStatusBar中添加图片按钮

摘要: 今天遇到了问题,网上down的Here's how it works:1. Create aCMFCRibbonButtonsGroup that will hold the status icon and add it to CMFCRibbonStatusBar2. Create a CMFCToolBarImagesobject and add status icons viaAddIcon().3. Register theCMFCToolbarImages to the RibbonButtonsGroup usingSetImages().For a status Icon, th 阅读全文

posted @ 2010-12-20 23:08 C杨阳 阅读(735) 评论(0) 推荐(0) 编辑

2010年12月17日

提醒自己

摘要: 忘记听过的,记住看过的,明白做过的。 阅读全文

posted @ 2010-12-17 14:36 C杨阳 阅读(79) 评论(0) 推荐(0) 编辑

2010年11月30日

将HBITMAP 转为 HICONHICON ConvertToHICON( CBitmap& bitmap) ;

摘要: HICON HICONFromCBitmap(CBitmap& bitmap){BITMAP bmp;bitmap.GetBitmap(&bmp);HBITMAP hbmMask = ::CreateCompatibleBitmap(::GetDC(NULL),bmp.bmWidth, bmp.bmHeight);ICONINFO ii = {0};ii.fIcon = TRUE;... 阅读全文

posted @ 2010-11-30 12:37 C杨阳 阅读(390) 评论(0) 推荐(1) 编辑

导航