Add-in stealing focus

Discussion in 'Microsoft Outlook Program Addins' started by Paul, Nov 19, 2004.

  1. Paul

    Paul Guest

    I have created an add-in with a non-modal dialog box that is used to
    search externally archived emails. It is launched from either a button
    on an explorer toolbar for from a menu on the explorer toolbar. It
    should not (to my knowledge) interact with items or inspectors at all.
    However if my add-in dialog is open and I open an email in an inspector
    and click on the view/options menu or if I right click on the item in
    the explorer and select options from the pop-up menu, my add-in
    captures focus and becomes the active window, hiding the options
    dialog.

    Does anyone have an idea on why this happens and how to end this
    behavior?

    Thanks,
    Paul
     
    Paul, Nov 19, 2004
    #1
    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. Jim

    How to give Outlook the focus from Add-In code?

    Jim, Feb 2, 2004, in forum: Microsoft Outlook Program Addins
    Replies:
    2
    Views:
    1,714
  2. Chris Day

    Finding out if a folder or message has focus

    Chris Day, May 6, 2004, in forum: Microsoft Outlook Program Addins
    Replies:
    1
    Views:
    165
    Dmitry Streblechenko \(MVP\)
    May 6, 2004
  3. Vladimir Chtchetkine

    Where is the focus (caret)?

    Vladimir Chtchetkine, Nov 2, 2004, in forum: Microsoft Outlook Program Addins
    Replies:
    0
    Views:
    233
    Vladimir Chtchetkine
    Nov 2, 2004
  4. Pieter

    Outlook Add-In: msoControlEdit: Textbox loses text when losing focus

    Pieter, Feb 6, 2006, in forum: Microsoft Outlook Program Addins
    Replies:
    3
    Views:
    414
    Pieter
    Feb 6, 2006
  5. Digambar Borse

    CommandBarComboBox problem: Text lost when combo box lost focus

    Digambar Borse, Jan 16, 2007, in forum: Microsoft Outlook Program Addins
    Replies:
    0
    Views:
    620
    Digambar Borse
    Jan 16, 2007
Loading...

Share This Page