View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Peter T Peter T is offline
external usenet poster
 
Posts: 5,600
Default Transparency/blur issue with dynamic toolbar

If you are using more than 255 colours you need to make and set the mask in
2002+.

http://support.microsoft.com/default...b;en-us;286460

Note the Mask method is for 2002+ and will error in 2000.

Regards,
Peter T


"sroux" wrote in message
...
Hi,

I'm building an add-in that creates a new tool bar on the fly.
Icons/images are copied and pasted from hidden add-in sheet (I'm not
dealing with face ids).

Issue : my icons/images are 16x16 PNG or GIF with transparent
background copied or inserted from Fireworks. When they are copied to
the Excel sheet or from Excel sheet to the tool bar then they get
blurry (resolution issue it seems..?). Could it be related to
transparency?

Question : how to handle images transparency and resolution when
building a dynamic tool bar in Excel?

Many thanks for your help.

SRoux