Using my own icons in toolbars...

Add-in Express™ Support Service
That's what is more important than anything else

Using my own icons in toolbars...
 
Heinz-Josef Bomanns




Posts: 206
Joined: 2008-02-28
Hi,

latest ADX 2009, Outlook 2003, 2007 - i have an ImageList with 16*16 Icons that have the usual magenta background color for transparency, so 'TransparentColor' for the ImageList and the individual icons in the toolbars (one for Explorer, one for Inspector) is set to 'Magenta'. In Outlook the icons have a diffent background depending on OS, theme settings and Outlook version - sometimes it's a decent gray, sometimes a dark blue or whatever, but it's never transparent and thus not looking very professionell. How exactly have the icons to be created and which settings to use to get icons with correct transparency regions in toolbars? Thanks...
__________________
Greetings, HJB
Posted 18 Jun, 2010 05:13:39 Top
Andrei Smolin


Add-in Express team


Posts: 18793
Joined: 2006-05-11
Hi HJB,

I suppose this issue is described in http://www.add-in-express.com/docs/net-commandbar-tips.php#transparent-icon. Is it correct?


Andrei Smolin
Add-in Express Team Leader
Posted 18 Jun, 2010 05:40:06 Top
Heinz-Josef Bomanns




Posts: 206
Joined: 2008-02-28
Hi Andrei,

tried it, but icons still have incorrect backgrounds. The icons are 24 Bit/True Color, the ImageList was cleared, set to Depth24Bit and 'TransparentColor = Transparent', then filled with the icons. After that i set icons for the toolbars with 'TransparentColor = Magenta' - background are still gray or blue or something. Do i have to use another (which?) icon format? Can PNGs be used?
__________________
Greetings, HJB
Posted 18 Jun, 2010 09:50:55 Top
Andrei Smolin


Add-in Express team


Posts: 18793
Joined: 2006-05-11
Hi HJB,

Please try setting TransparentColor for the controls, not for the ImageList.

As to icons, see http://www.add-in-express.com/creating-addins-blog/2010/06/07/images-office-applications/.


Andrei Smolin
Add-in Express Team Leader
Posted 18 Jun, 2010 10:32:34 Top
Heinz-Josef Bomanns




Posts: 206
Joined: 2008-02-28
Hi Andrei,

i've done set: "i set icons for the toolbars with 'TransparentColor = Magenta'". OK, will have a look at the blog. BTW: Interessting and helpfull articles there, but nearly impossible to read all of them :)
__________________
Greetings, HJB
Posted 18 Jun, 2010 10:40:48 Top