How do I use GetImage in the ribbon

K

Ken Slovak - [MVP - Outlook]

That AxHost code there in the article should do what you need, it returns an
IPictureDisp object from a resource BMP. Are you following that model?

Be aware that IPictureDisp objects can only be passed within a process, you
can't pass such an object across process boundaries. That mostly will affect
Outlook programmers for Outlook 2003 and earlier with WordMail items. In
those cases the Picture and Mask properties of a CommandBarButton object
can't be used as the WordMail item is out-of-process to Outlook (WordMail is
a subclassed msword.exe).
 

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