ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Transparency/blur issue with dynamic toolbar (https://www.excelbanter.com/excel-programming/438217-transparency-blur-issue-dynamic-toolbar.html)

sroux

Transparency/blur issue with dynamic toolbar
 
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

Peter T

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





All times are GMT +1. The time now is 05:05 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com