Re: how can I get span element interface in a web form in my vc++ application



yes, Igor
the get_all function is not included in IHTMLFormElement methods ,
and function "item( VARIANT name,VARIANT index,IDispatch **pdisp)" of
IHTMLFormElement can get only
IHTMLINPUTElement.(text,radio,check,button,select...) no span element.
HRESULT hr =pDispEleCol->QueryInterface(
IID_IHTMLElementCollection,(void **) &pEleCol);
the result hr = -2147467262 ,so it failed to get HTMLElementCollection.

.