A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Tags: , ,

CommandBarButton Picture, transparency





 
 
Thread Tools Display Modes
  #1  
Old September 25th 07, 11:36 PM posted to microsoft.public.outlook.program_addins
Mike
external usenet poster
 
Posts: 264
Default CommandBarButton Picture, transparency

I'm sorry, I'm confused about the Picture and Mask properties. I'm able to
get the button added w/pic, but it has the dark blue background instead of
being transparent. Do the Picture and Mask properties get set to the same
image? Or does one image need to be completely transparent? If so, how do i
make an .ico file fully transparent? Any help and/or links provided would be
greatly appreciated.
Ads
  #2  
Old September 26th 07, 02:19 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 3,028
Default CommandBarButton Picture, transparency

First of all, don't use an ICO file. Use some bitmap image. Second, the mask
is the same image as the picture, just with the areas where you want
transparency in a color that is set to be the transparent layer.

Have you looked at the sample code for mask and picture at
http://support.microsoft.com/kb/286460?

--
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


"Mike" wrote in message
...
I'm sorry, I'm confused about the Picture and Mask properties. I'm able
to
get the button added w/pic, but it has the dark blue background instead of
being transparent. Do the Picture and Mask properties get set to the same
image? Or does one image need to be completely transparent? If so, how
do i
make an .ico file fully transparent? Any help and/or links provided would
be
greatly appreciated.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
add a picture to a CommandBarButton DavidH&P Outlook - Using Forms 0 August 30th 06 03:35 PM
Achieve transparency for icons in Outlook 2000 add-in. Vinayakc Add-ins for Outlook 1 July 5th 06 03:11 PM
How to add an Icon to a commandBarButton David Outlook and VBA 1 March 29th 06 05:39 PM
how to add commandbarbutton to inspector window Ram Outlook - General Queries 1 January 18th 06 08:42 PM
Include PictureFormatHTML send picture will not remain checked JimM Outlook Express 3 January 9th 06 02:12 AM


All times are GMT +1. The time now is 03:47 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2008 Outlook Banter, part of the NewsgroupBanter project.
The comments are property of their posters.
Loans - Art visionaries - Problem Mortgage - Loan - Mortgages