How can I know which botton of outlookbar clicked ?(VC)

H

hostran

Hi

I add some bars onto the outlook2003,in the invoke() function I got the
button-down section (dispIdMember == 0x1),but how can I get the message
which button is clicked ?

Thanks in advance.
 
D

Dmitry Streblechenko

The button is passed as a parameter to your event handler (or
IDispatch::Invoke() for that matter).

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