using transparent GIFs for toolbar buttons
-
-
I used bitmaps for toolbar buttons. Now I need to use background transparent images for those buttons. I have the background transparent GIF images. Can I obtain background transparent BMPs? How can I use the GIFs for the toolbar buttons?
danginkgo
I can answer part of your question, at least. If you look at the docs for LoadImage, one of the flags is: LR_LOADMAP3DCOLORS, which replaces set colours with your systems (eg) dialog face colour. Alternatively, ImageList_AddMasked has a "treat this colour as transparent" option you could uses. So, you could make a bitmap using bright pink as the background, then use that as transparent. Assuming you're not making a Barbie themed app, of course... Iain.
Plz sir... CPallini CPallini abuz drugz, plz plz help urgent.
-
I can answer part of your question, at least. If you look at the docs for LoadImage, one of the flags is: LR_LOADMAP3DCOLORS, which replaces set colours with your systems (eg) dialog face colour. Alternatively, ImageList_AddMasked has a "treat this colour as transparent" option you could uses. So, you could make a bitmap using bright pink as the background, then use that as transparent. Assuming you're not making a Barbie themed app, of course... Iain.
Plz sir... CPallini CPallini abuz drugz, plz plz help urgent.