PDA

Click to See Complete Forum and Search --> : IE5 style button icons


RavenCrow
Apr 4th, 2000, 12:09 AM
Does anyone know of a api or easy way to make a icon look disabled and to change it's colors to grey like the buttons on the IE5 toolbar?

Thank you

RavenCrow

Cbomb
Apr 4th, 2000, 06:19 AM
I don't know of an api that makes an icon go into greyscale but what you can do is use a graphics editor (I use Photoshop) and save the icon as greyscale but to get the IE look you may need to adjust some other things Brightness/Contrast maybe. Then when you need to disable the button you are using you can just swap in the greyscaled icon. Then when you un-disable the button you simply swap it back (duh :rolleyes: )

I hope this helps..If it doesnt try posting in General VB Questions section. Good Luck!

RavenCrow
Apr 4th, 2000, 08:31 PM
Cbomb. Thanks for the reply but it wasn't quite what I was looking for as I am making a Active-X control so the user can specify the icon without having to go and make a disabled icon. i.e. the control has to create the disabled icon and not the user but thanks anyway.