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?

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

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

    Guest, Nov 24, 2003, in forum: Microsoft Outlook VBA Programming
    Replies:
    8
    Views:
    489
    Guest
    Nov 24, 2003
  2. Mike

    VBA - macro, security,vba editor

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

    How To get an hWnd?

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

    Using VBA for Outlook and VBA for Access within Access

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

    VBA Macro to replace VBA module within outlook

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

Share This Page