How to get Outlook Inspector as IDispatch object from window handl

T

Tom

Hi,

I am able to get any window handle from Outlook. For each of these window
handle I've tried AccessibleObjectFromWindow( hWnd, (DWORD)OBJID_NATIVEOM,
IID_IDispatch, (void**)&pDispWindow); I am able to get Word.Document object
from a window class as "_WwG". But I am not able to get Outlook.Inspedtor
object from any of these window.

Is there any way to get Outlook.Inspedtor object from one of these window?

I am running Outlook 2007 and Outlook 2010. Developing language is C++.

Thanks in advance.

Tom
 

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