How to Change the visio toolbarbutton Image color at runtime

J

Jeeban

Hi..
Is there any information available regarding how to change color of the the
toolbar icon image at runtime.
i m trying to change the color of a toolbar icon image when th euser select
the diffrent color .i m using
vb.net 2005 and microsoft visio 2007.

Thanxs.
 
A

AlEdlund

Many Icons are bitmaps, so changing color necessitates replacing the bmp
file that is associated.
al
 
J

Jeeban

AlEdlund said:
Many Icons are bitmaps, so changing color necessitates replacing the bmp
file that is associated.
al

yes sir.
But i m reading the image from the resource. how to store the updated image
in the resource file..?
 
A

AlEdlund

It's been a couple of years, but as I remember, the last time I did it you
save two bitmaps in the resource file and assign them as needed.
al
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top