Button images for ribbon bar

  • Thread starter Thread starter Yan Yang
  • Start date Start date
Y

Yan Yang

Guest
I am trying to set images for buttons on the ribbon bar (CMFCRibbonBar) in our application. Our application originally uses menu/toolbar style. Now we want it to support both menu/toolbar and ribbon styles. The original menu/toolbar images are 16x16 bitmap images. I resized the image to 32x32 in order to add a large image to the button on the ribbon bar. The 32x32 image is created by resizing the original 16x16 bitmap image using Paint and saved as 24-bit Bitmap.

The button image looks ok if the original 16x16 small image is used, but if I set the button image to 32x32 large image, the button image always has a black background.

How to make the large image have transparent background?

Thanks in advance.

Continue reading...
 
Back
Top