PC Review


Reply
Thread Tools Rate Thread

Customize button image for separate Outlook forms region

 
 
Tadwick
Guest
Posts: n/a
 
      8th Jul 2009

I have created an Outlook forms region using VS 2008. The form region is
based on Windows Forms not Outlook Forms. I want to change the button on the
ribbon to a custom image. An MSDN article
(http://msdn.microsoft.com/en-us/libr...x#UsingOptimal)
suggested that the Page Icon needs to be a .png file. However, I found that
when I specify an image file for the button in the properties of the forms
region file, the resulting button image has a bright blue background and I'm
not sure how to control the mask so that it is transparent.

Should the page icon have a transparent background?

Thanks, Tad

 
Reply With Quote
 
 
 
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      8th Jul 2009

With a PNG for a ribbon control the transparency is set in the alpha layer
of the PNG image. You have to design your PNG correctly and then it will
work.

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


"Tadwick" <(E-Mail Removed)> wrote in message
news:B0BD0EF3-D8F7-454A-8C88-(E-Mail Removed)...
>I have created an Outlook forms region using VS 2008. The form region is
> based on Windows Forms not Outlook Forms. I want to change the button on
> the
> ribbon to a custom image. An MSDN article
> (http://msdn.microsoft.com/en-us/libr...x#UsingOptimal)
> suggested that the Page Icon needs to be a .png file. However, I found
> that
> when I specify an image file for the button in the properties of the forms
> region file, the resulting button image has a bright blue background and
> I'm
> not sure how to control the mask so that it is transparent.
>
> Should the page icon have a transparent background?
>
> Thanks, Tad
>


 
Reply With Quote
 
Tadwick
Guest
Posts: n/a
 
      8th Jul 2009

Thanks, Ken - I thought my PNG did have alpha transparency but I will look at
it again.

"Ken Slovak - [MVP - Outlook]" wrote:

> With a PNG for a ribbon control the transparency is set in the alpha layer
> of the PNG image. You have to design your PNG correctly and then it will
> work.
>
> --
> 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
>
>
> "Tadwick" <(E-Mail Removed)> wrote in message
> news:B0BD0EF3-D8F7-454A-8C88-(E-Mail Removed)...
> >I have created an Outlook forms region using VS 2008. The form region is
> > based on Windows Forms not Outlook Forms. I want to change the button on
> > the
> > ribbon to a custom image. An MSDN article
> > (http://msdn.microsoft.com/en-us/libr...x#UsingOptimal)
> > suggested that the Page Icon needs to be a .png file. However, I found
> > that
> > when I specify an image file for the button in the properties of the forms
> > region file, the resulting button image has a bright blue background and
> > I'm
> > not sure how to control the mask so that it is transparent.
> >
> > Should the page icon have a transparent background?
> >
> > Thanks, Tad
> >

>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
2007 - Customize Button Image =?Utf-8?B?R3VhY2t5eHh4?= Microsoft Excel Setup 3 22nd Apr 2007 08:24 PM
2.0: forms authentication on image button click R.A.M. Microsoft ASP .NET 0 8th Apr 2006 09:08 PM
Customize outlook forms =?Utf-8?B?YnRwb29sZQ==?= Microsoft Outlook Form Programming 2 11th Feb 2005 05:15 PM
Pasted image on a customize toolbar button disappears =?Utf-8?B?TUFSb2JpbnNvbg==?= Microsoft Powerpoint 0 13th Oct 2004 10:25 PM
Separate Forms for each Command Button Sharon Microsoft Access Form Coding 1 3rd Dec 2003 07:51 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:12 AM.