hWnd - Outlook VBA

  • Thread starter Hans-Christian Francke
  • Start date
H

Hans-Christian Francke

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
 
D

Dmitry Streblechenko

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
 

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