hWnd - Outlook VBA

Discussion in 'Microsoft Outlook VBA Programming' started by Hans-Christian Francke, Nov 14, 2003.

  1. There seams not to be a hWnd property for UserForms in VBA in Outlook 2002.
    Is there a way to get the handle.
    --

    Thank for any help.

    Kindest regards
    HC Francke
     
    Hans-Christian Francke, Nov 14, 2003
    #1
    1. Advertisements

  2. Yes, but not in VBA: you need to QI the Inspector (or Explorer) object for
    the IOleWindow interface, then call IOleWindow::GetWindow()

    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/
    OutlookSpy - Outlook, CDO
    and MAPI Developer Tool


    "Hans-Christian Francke" <> wrote in message
    news:cb3tb.6472$...
    > There seams not to be a hWnd property for UserForms in VBA in Outlook

    2002.
    > Is there a way to get the handle.
    > --
    >
    > Thank for any help.
    >
    > Kindest regards
    > HC Francke
    >
    >
     
    Dmitry Streblechenko, Nov 14, 2003
    #2
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.
Similar Threads
  1. Bob Croley

    Outlook programming (VBA)

    Bob Croley, Jun 30, 2003, in forum: Microsoft Outlook VBA Programming
    Replies:
    0
    Views:
    3,952
    Bob Croley
    Jun 30, 2003
  2. Guest

    VBA: My Outlook VBA rule code does't work :(

    Guest, Nov 24, 2003, in forum: Microsoft Outlook VBA Programming
    Replies:
    8
    Views:
    807
    Guest
    Nov 24, 2003
  3. Rog

    VBA Iterate through Outlook Folder Type Mismatch Outlook 2003

    Rog, Dec 23, 2003, in forum: Microsoft Outlook VBA Programming
    Replies:
    3
    Views:
    3,096
    Ken Slovak - [MVP - Outlook]
    Dec 24, 2003
  4. Mike

    VBA - macro, security,vba editor

    Mike, Jan 25, 2004, in forum: Microsoft Outlook VBA Programming
    Replies:
    4
    Views:
    583
    Guest
    Jan 26, 2004
  5. Mike Hartsough

    How To get an hWnd?

    Mike Hartsough, Apr 30, 2004, in forum: Microsoft Outlook VBA Programming
    Replies:
    0
    Views:
    529
    Mike Hartsough
    Apr 30, 2004
  6. Guest

    Does VBA work with Outlook only or Outlook Express or both?

    Guest, Oct 6, 2005, in forum: Microsoft Outlook VBA Programming
    Replies:
    1
    Views:
    701
    Sue Mosher [MVP-Outlook]
    Oct 6, 2005
  7. Guest

    Using VBA for Outlook and VBA for Access within Access

    Guest, Mar 17, 2006, in forum: Microsoft Outlook VBA Programming
    Replies:
    1
    Views:
    691
    Sue Mosher [MVP-Outlook]
    Mar 17, 2006
  8. P13RR3

    VBA Macro to replace VBA module within outlook

    P13RR3, Sep 9, 2011, in forum: Microsoft Outlook VBA Programming
    Replies:
    1
    Views:
    988
    P13RR3
    Sep 22, 2011
Loading...