resource.h中声明资源的ID:ID_RIBBON_BACKIMAGE
rc文件中添加png图片路径:
ID_RIBBON_BACKIMAGE PNG DISCARDABLE "res\\bkribbon.png"
代码中添加下测:
//添加背景图片
m_wndRibbonBar.SetBackgroundImage(ID_RIBBON_BACKIMAGE);
背景色图片加上来了
resource.h中声明资源的ID:ID_RIBBON_BACKIMAGE
rc文件中添加png图片路径:
ID_RIBBON_BACKIMAGE PNG DISCARDABLE "res\\bkribbon.png"
代码中添加下测:
//添加背景图片
m_wndRibbonBar.SetBackgroundImage(ID_RIBBON_BACKIMAGE);
背景色图片加上来了