We need to load the HTML source document on the Web page on the PIE web browser in the source code which we try to do It's listed below:
IDIspatch * pHtmlDocDispatch; IOleCommandTarget * pOleCommandTarget; WEBVIEWLib :: IPIEHTMLDocument2 * pHTMLDocument2; WEBVIEWLib :: IPIEHTMLWindow2 * pHTMLWindow; IPIEHTMLElementCollection * pHTMLElementCollection; Hr = pWebBrowser-> Get_Document (& amp; pHtmlDocDispatch); CHR (hour); If (pHtmlDocDispatch! = NULL) {hr = pHtmlDocDispatch-> QueryInterface (IID_IPIEHTML Document 2, (Zero **) and P HTML Document 2); CHR (hour); Hr = pHTMLDocument2-> Get_parentWindow (& amp; pHTMLWindow); CHR (hour); PHTMLDocument2- & gt; Get_innerHTML () ... oh Copulation }
We have found that the internal HTML () method is missing in the Windows Mobile version of Web Browser Control (PIE).
How should we now get an HTML document from PIE Control is their possible solution?
Thank you, Ramananda
Well, I have never developed for PIE, But I know that the IE Active X interface is quite well. If there is an IDispatch * indicator for your document element, then you should be able to use only the IDISpatch interface to get the DISPID for "internal HTML" and then call DISPATCH_PROPERTYGET to get the value.
Similarly, the DISPATCH_PROPERTYPUT should be able to determine the value, although noting that you may have to include a designated RR with the DISPIDIPIPRPRPRTPUTTUt to do the work of an asset.
No comments:
Post a Comment