Mask for CommandBarButton - How To?

C

codekwez

Hi,

I hope someone can offer some help or stear me in the right direction.
I have a Outlook plug-in written in VB 6. I need to add masks to the
button images that I curretly have for buttons on the CommandBar. I've
done some research but haven't been able to piece things together. I
need this add-in to work for all versions of Outlook. How would I go
about doing it?

I saw on MSDN that you can use stdole.IPictureDisp and the mask
property, however it is only for XP and 2003. I still need it to work
for 2000. Is there a universal method that can work for all versions of
Outlook? Does anyone have some code where they have done this already?

Any help would be appreciated.

Thanks
-Elliot
 
C

Cindy M -WordMVP-

Hi Codekwez,

Office 2000 simply doesn't support this. The only thing you can do in
versions prior to XP (2002) is use the PasteFace method.
I hope someone can offer some help or stear me in the right direction.
I have a Outlook plug-in written in VB 6. I need to add masks to the
button images that I curretly have for buttons on the CommandBar. I've
done some research but haven't been able to piece things together. I
need this add-in to work for all versions of Outlook. How would I go
about doing it?

I saw on MSDN that you can use stdole.IPictureDisp and the mask
property, however it is only for XP and 2003. I still need it to work
for 2000. Is there a universal method that can work for all versions of
Outlook? Does anyone have some code where they have done this already?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top