Category : add-in

i am trying to resolve one bug on AccessibleObjectFromWindow you can access doccumentation for the same on https://docs.microsoft.com/en-us/windows/win32/api/oleacc/nf-oleacc-accessibleobjectfromwindow I am unable retrive ppvObject for outlook whereas it works well for the ms word. WindowPtr pdocWdw; HRESULT var = AccessibleObjectFromWindow( hControlWnd, DWORD(OBJID_NATIVEOM), __uuidof(WindowPtr), (PVOID*)&pdocWdw ); _DocumentPtr pDoc; if(pdocWdw != NULL) { m_pdocWdw = pdocWdw; pDoc = ..

Read more

I am trying to resolve one bug with AccessibleObjectFromWindow(). I am unable to retrieve ppvObject for Outlook, whereas it works well for MSWord. WindowPtr pdocWdw; HRESULT var = AccessibleObjectFromWindow( hControlWnd, DWORD(OBJID_NATIVEOM), __uuidof(WindowPtr), (PVOID*)&pdocWdw ); _DocumentPtr pDoc; if(pdocWdw != NULL) { m_pdocWdw = pdocWdw; pDoc = pdocWdw->Document; } For Word, pDoc = pdocWdw->Document; returns the proper ..

Read more