TRANSPARENT the the background of GIF in toolbar BUTTON...

futura
04-16-2003, 04:59 AM
Hi:

I have created some icon-like images from photoshop and wanted to export them(*.gif) to VB6. But then when i inserted them inside the toolbar button, the button background wasn't transparent but white instead.

Was it gone wrong with my saving gif file technique in photoshop or the gif file background won't look transparent if inserted in vb6??

Please help. Thanks!

:)

Machaira
04-16-2003, 06:29 AM
Try setting the MaskColor property of the ImageList control that has the graphics for the toolbar to whatever color you want to be transparent.

futura
04-16-2003, 07:27 AM
Try setting the MaskColor property of the ImageList control that has the graphics for the toolbar to whatever color you want to be transparent.

I try it but yet still remain the same.

Anyway i attached the gif file i editted...

Hope you can show me how you do it.

Thanks.

(Somehow i know that icon file has no problem to deal with this.)

Machaira
04-16-2003, 07:46 PM
The reason you're not getting transparency is because the background isn't exactly white. Try the attached.

futura
04-18-2003, 08:28 AM
Ok thanks!!

:)

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum