PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook VBA Programming hWnd - Outlook VBA



Reply

hWnd - Outlook VBA

 
Thread Tools Rate Thread
Old 14-11-2003, 11:40 AM   #1
Hans-Christian Francke
Guest
 
Posts: n/a
Default hWnd - Outlook VBA

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


  Reply With Quote
Old 14-11-2003, 08:48 PM   #2
Dmitry Streblechenko
Guest
 
Posts: n/a
Default Re: hWnd - Outlook VBA

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" <reply@group.please> wrote in message
news:cb3tb.6472$mf2.89267@news4.e.nsc.no...
> 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
>
>



  Reply With Quote
Reply


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off