Hi Ben,
I wanted to do this with the IHTML.. interfaces for the style object
to get a current list of available styles to populate a menu item.
Some discussion went on in the Yahoo TWebBrowser discussion group, and
the consensus there was that it is not possible to get such
information, in that it is not an enumeration of any kind.
However I wouldn't be surprised that at some "higher" level of Delphi
this may prove to be possible. Somthing must be able to 'discern' and
iterate through those sorts of things?
Any deep Delphi thinkers there?
On Tue, 8 Feb 2005 17:10:34 +1300, Vaughan, Benjamin Carl
<[EMAIL PROTECTED]> wrote:
>
>
> Hi All,
>
>
>
> I have a mail server component that I am currently playing with that exposes
> a COM interface such as below
>
>
>
> IControl = interface(IDispatch)
>
> ['{7196E78B-C275-4FD7-B898-AC52DA2C199C}']
>
> â..
>
> function Get_System_: OleVariant; safecall;
>
> function Get_Config: OleVariant; safecall;
>
> â.
>
> end;
>
>
>
> Two of the functions return an OleVariant that I can then call various
> methods against. I am wondering if there is any way I can obtain a list of
> all the method names that this variant supports. I do know that the
> OleVariant is a Automation object, and that it supports
> IUnknown,IMarshal,IProxyManager,IMultiQI,IClientSecurity,IDispatch, but
> there is no registered interface that contains the methods to interact with
> the mail server.
>
>
>
> Any Ideas?
>
>
>
> Regards
>
> Ben Vaughan
>
>
> _______________________________________________
> Delphi mailing list
> [email protected]
> http://ns3.123.co.nz/mailman/listinfo/delphi
>
>
>
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi