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

Discussion in 'Microsoft Outlook Program Addins' started by hostran, Oct 11, 2003.

  1. hostran

    hostran Guest

    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.
     
    hostran, Oct 11, 2003
    #1
    1. Advertisements

  2. 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


    "hostran" <> wrote in message
    news:%...
    > 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.
    >
    >
     
    Dmitry Streblechenko, Oct 13, 2003
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. shahzad
    Replies:
    1
    Views:
    456
    Ken Slovak - [MVP - Outlook]
    Nov 19, 2003
  2. Peter

    event fired when email address clicked

    Peter, Jun 1, 2007, in forum: Microsoft Outlook Program Addins
    Replies:
    1
    Views:
    223
    Dmitry Streblechenko
    Jun 1, 2007
  3. Jinghui

    How to know which MailItem I am replying/forwarding?

    Jinghui, Jan 6, 2008, in forum: Microsoft Outlook Program Addins
    Replies:
    6
    Views:
    882
    Ken Slovak - [MVP - Outlook]
    Mar 4, 2008
  4. Nagaraj

    How to know which button clicked

    Nagaraj, May 27, 2009, in forum: Microsoft Outlook Program Addins
    Replies:
    3
    Views:
    355
    Ken Slovak - [MVP - Outlook]
    May 27, 2009
  5. Nagaraj

    How to know New button is clicked

    Nagaraj, Jul 28, 2009, in forum: Microsoft Outlook Program Addins
    Replies:
    1
    Views:
    353
    Ken Slovak - [MVP - Outlook]
    Jul 28, 2009
Loading...

Share This Page