Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Outlook c++ com addin IRibbon and MailItem

1 view
Skip to first unread message

Ahmed T

unread,
Oct 30, 2022, 4:51:28 PM10/30/22
to
I have a button added to the Compose New Message window and the onAction is getting called. How do to get the mailitem? I'm using

spInspector->get_CurrentItem((IDispatch**)&pMailItem)

but this doesn't return the same pMailItem value I captured during ItemLoad event.

Any ideas?
0 new messages