hWnd - Outlook VBA

  • Thread starter Thread starter Hans-Christian Francke
  • Start date 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
 
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
 
Back
Top