Announcement

Collapse
No announcement yet.

Toolbar bitmaps need transparent bkgrnd

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • BOB MECHLER
    replied
    That did the trick!

    Thanks,

    Bob Mechler

    Leave a comment:


  • Kev Peel
    replied
    Yes, set the color you want transparent (usually dark grey - RGB(192,192,192)) and ImageList_Create/ImageList_AddMasked and TB_SETIMAGELIST. This creates toolbar bitmaps that blend the current Windows' color scheme.

    Leave a comment:


  • Michael Mattias
    replied
    If using an image list (code not shown) , see ImageList_AddMasked macro in your WinAPI reference.

    I am terrible with this masking stuff, but I know that's why this is there.

    Leave a comment:


  • BOB MECHLER
    started a topic Toolbar bitmaps need transparent bkgrnd

    Toolbar bitmaps need transparent bkgrnd

    I'm creating a toolbar.bmp from 16x16 bitmaps created by someone else at work.
    The bitmaps have a black background. I used Paint and 256 color setting, selected an area and did a paste from with transparent background selected in paint to build the toolbar.bmp and they work fine except for the blackground. I don't have any paint experience and have used the fill brush to change to colors that are close to what I want but really just want the black to be transparent. Is there a setting I can use with the bucket fill to change the area to transparent bits?

    BOB MECHLER
Working...
X