![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
I have added few buttons to toolbar. I am using VSTO 2005. These buttons have
icons which are added using .mask and .picture properties. If I disable the button I am able to see greyed out button text, but the icon image is replaced by greyed mask which is not looking good. Is there any way to show my own light colored icon instead when the toolbar button is disabled? |
Ads |
#2
|
|||
|
|||
![]()
Usually the masking doesn't look bad if you supply a PNG image with
transparency set in the alpha layer of the image. However, you can get the state of a button in a getImage() callback to supply the appropriate image you want. In a getEnabled() callback you'd store the states of each button you want to handle that way and then check the states in the getImage() callback. Then you know what image to supply. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Saeed" wrote in message ... I have added few buttons to toolbar. I am using VSTO 2005. These buttons have icons which are added using .mask and .picture properties. If I disable the button I am able to see greyed out button text, but the icon image is replaced by greyed mask which is not looking good. Is there any way to show my own light colored icon instead when the toolbar button is disabled? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Where did my Spelling (ABC) icon on the toolbar go? | Basharat A. Javaid | Outlook - General Queries | 1 | August 26th 08 01:29 PM |
The Office Button & Quick Access Toolbar to show up in Outlook | AnthandWom | Outlook - Installation | 1 | July 7th 08 03:36 PM |
Changing Color on a Disabled Button | PS | Add-ins for Outlook | 5 | January 16th 08 06:59 PM |
Mail icon missing in IE toolbar | anlsn | Outlook Express | 3 | June 26th 06 10:50 AM |
Toolbar button for show gridlines? | [email protected] | Outlook and VBA | 1 | February 14th 06 06:20 AM |