Graphical Button

  • Thread starter Thread starter simon
  • Start date Start date
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.
 
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
 
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
 
Back
Top