Options for specifying Ribbon images?
-
Thursday, July 21, 2011 6:07 PMAre there any other options for specifying ribbon images instead of including each individual bmp as a resource? I am using the MS Win32 ribbon support in an app that will support both old style toolbars and new ribbon, using the same images... for the toolbars I already have all the images for each toolbar in one large bmp that gets loaded into an imagelist for use by the toolbar. The ribbon spec seems to indicate that I will have to rip the large bitmaps apart into individual button image bmps for use by the ribbon... which makes it inconvenient for use by the toolbars... I'd have to build each toolbar image list on the fly from individual bmps. Is there any way to have the ribbon API use an indexed image from an image list? OR, an indexed image from one bmp resource that has all the images in it?
All Replies
-
Wednesday, July 27, 2011 6:42 PM
Unfortunately, as far as I know, this can't be done.
The images must be provided as standalone 32bpp bitmaps.
Arik Poznanski
blogs.microsoft.co.il/blogs/arik- Proposed As Answer by Arik Poznanski Wednesday, July 27, 2011 6:42 PM
- Marked As Answer by Maria KangMicrosoft Employee Tuesday, July 31, 2012 12:10 AM
-
Friday, January 11, 2013 1:30 PMRibbon relies on seperate 32x32 .bmp images to work. You could however put the Ribbon icons in a folder and the Toolbar icons in another folder.


