如何让webbrowers 的IDocHostUIHandler接口

摘录:

如何让webbrowers 的IDocHostUIHandler接口 关联到我的接口上?

ICustomDoc *m_spCustDoc;  
HRESULT hr;  
   
hr = CppWebBrowser1->Document->QueryInterface(IID_ICustomDoc,(void**)&m_spCustDoc);  
if(SUCCEEDED(hr))  
{  
  m_spCustDoc->SetUIHandler(我的接口指针);  
  m_spCustDoc->Release();  
}  

不使用ICustomDoc ,能设置IDocHostUIHandler接口到我的接口指针上吗?

详细:http://topic.csdn.net/u/20090527/14/ffcd7a7c-128f-4480-bcf6-f11c1e403d8a.html

问题还没有得到答案。先转载,留着以后用。

posted @ 2012-01-01 10:25  stma  阅读(531)  评论(0)    收藏  举报