Link to home
Start Free TrialLog in
Avatar of hess
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
Avatar of cvidler
cvidler

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of hess
hess

ASKER

i made the icons myselft. they are true color and 32*32. that is all that is in them. when i see them they look like crap it is obvious that they have been reduced to 16 colors. there is only one icon in each ico file.... maybe ishould use bmps. can a toolbar control hold true color icons?
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.
Avatar of hess

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 :)
Avatar of hess

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
Avatar of hess

ASKER

really... ok i will