hess
asked on
256+ Colors
How can i make the icons on my toolbar control show up in more than 16 colors. the icon files are true or 256 colors and i think they go down to 16 as soon as they get into the image list. how can i get them to be 256 colors or more??? ... these are all my points
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
bitmaps would be a good idea - I'm not sure about 32-bit icons - I know 24-bit icons work well.
But bitmaps are a good idea - just means you'll have to set a transparent color if you need transparency.
But bitmaps are a good idea - just means you'll have to set a transparent color if you need transparency.
ASKER
ok ... how do you set a transpartent color in a bmp... i use psp 5
BMP's can't have transparent colors - but wait there is a way
Set the pixels you want transparent to some real weird color (something not used in the picture you want to see) and you then set the MaskColor property of the ImageList to the exact same color you used for the pixels you want trasnparent - the ImageList will take care of the rest.
BTW: The BackColor property is what will show through the transparent color - make sure it si set to the color you want the background to be :)
Set the pixels you want transparent to some real weird color (something not used in the picture you want to see) and you then set the MaskColor property of the ImageList to the exact same color you used for the pixels you want trasnparent - the ImageList will take care of the rest.
BTW: The BackColor property is what will show through the transparent color - make sure it si set to the color you want the background to be :)
ASKER
thankyou
BTW - get PSP6 it is alot more powerful allowing you to test your transparency before you set it in VB, lets you easily make changes if needed. I got PSP6 as soon as it was released - much better than 5
ASKER
really... ok i will
ASKER