Graphical Button

S

simon

I can only create text button.
How to create graphical button of addins?
I'v tried it in many ways, but not success.

Thanks.
 
D

Dmitry Streblechenko \(MVP\)

1. Copy a bitmap to the clipboard, then call CommandBarButton.PasteFace
2. Use CommandBarButton.FaceId to use one of the predefined Outlook icons
3. In Outlook 2002 and up, use CommandBarButton.Picture and
CommandBarButton.Mask properties (must be set to an instance of the IPicture
object).

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
S

simon

Tanks a lot!

Dmitry Streblechenko (MVP) said:
1. Copy a bitmap to the clipboard, then call CommandBarButton.PasteFace
2. Use CommandBarButton.FaceId to use one of the predefined Outlook icons
3. In Outlook 2002 and up, use CommandBarButton.Picture and
CommandBarButton.Mask properties (must be set to an instance of the IPicture
object).

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 

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