Frank Burleigh wrote:


I don't see how it's exposed. Thanks.

Ah, I see how to get the bridge (below). But what really is the resulting interface pointer? I don't think I see the .h where the thing is defined.


The code to get the interface pointer is below:

// see mozillacontrol.idl line 451
IMozControlBridge *pBridge;
HRESULT rv=pBrowserSite->DefaultDispatch->QueryInterface(
  Sysutils::StringToGUID( "{D6131E69-4A89-4AB5-B916-5A581D66C84F}" ),
  (void **)&pBridge );
if( SUCCEEDED( rv ) )
{
    void *pMoz;
    rv=pBridge->GetWebBrowser( (void **)&pMoz );
    pBridge->Release();
}

Thanks!
--
Frank Burleigh
Indiana University School of Law
[EMAIL PROTECTED]
_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to