标签:CMF CRibbon StatusBarP 加载图标
Ribbon状态栏加入图标HICON hIcon = (HICON) ::LoadImage(AfxGetResourceHandle(), MAKEINTRESOURCE(IDI_ICON1), IMAGE_ICON, 0, 0, LR_SHARED); m_wndStatusBar.AddElement(new CMFCRibbonStatusBarPane(ID_STATUSBAR_COM, _T(""), IDB_BITMAP_COM, 16, RGB(0, 0, 0), hIcon, TRUE, TRUE), _T(""));
必须为32位色深的图标
标签:CMF CRibbon StatusBarP 加载图标
原文地址:http://blog.51cto.com/9233403/2096241