--- In [email protected], "entropyreduction" <alancampbelllists+ya...@...> wrote: > > But it's your understanding that this would also work for other window > classes? If so, is there a way of determining which window class will return > which interface type?
AFAIK, no, OBJID_NATIVEOM is exclusively used by Office applications. Looks like the (old) RichEdit control had a root in Office. Actually the main usage of AccessibleObjectFrom... is to obtain IAccessible interface, usually via OBJID_CLIENT in case of Window. Many standard controls, over > 30 I think, support IAccessible, even Firefox/Thunderbird do. This interface can be used as a screen reader etc. > In particular that applied to a rich edit control it will return a > IRichEditOle? I've never tried to obtain IRichEditOle, so, I don't know if there is a way for it atm. > Your IID_IDispatch parameter above would have to be replaced with text so > Powerpro could understand it. If I can make this work I'll probably start > with no option, and you always get a IID_IDispatch; if that works I can > provide predefined strings to map onto IAccessible, IDispatch, IEnumVARIANT, > IUnknown, etc. > That seems reasonable.
