How do I add an icon of image to a menu button?

B

B

I have created a COM addin in C++ that adds a couple of
menuButtons(CommandBarButton) to Microsoft Outlook. I have used
commandBarButton->put_Caption() to put the caption on to the button.
Now, I would like to know how exactly would I be able to add an icon or
image to this particular button. Code snippets would be of great help.

Thanks,
B.
 

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