我想使用浏览器的IHtmlDocument2接口,但我首先怎么得到浏览器对象,请高手指点!
解决方案 »
- ceditview 编辑框中的文本如何判断换行?
- 关于添加右键菜单
- vc6.0与VS2005相关
- VC++和 sql中的问题
- 如何才能提取.exe或.dll文件中的Icon和Cursor,并将它们保存为.ico、.cur、.ani文件?
- 请大侠们讨论for next 语句的用法,请大侠们都说两句!!!!!
- 请问什么是计算两图的 欧几里德 距离?
- 关于CList类的,构造一个链表,每个节点是一个类对象,请问如何实现?
- 各位推荐个同步软件
- mfc程序设计步骤是什么??
- 谁了解CWnd::OnCommand(WPARAM wParam, LPARAM pParam) (在线等)
- ReadFile函数是不是先足?请各位高手指点一下!焦急ing!
process.
HOWTO: Connect to a Running Instance of Internet Explorer
(http://support.microsoft.com/support/kb/articles/Q176/7/92.ASP)
HOWTO: Get IHTMLDocument2 from a HWND
http://support.microsoft.com/support/kb/articles/Q249/2/32.ASP
IDispatch *pDisp;
pDisp = GetHtmlDocument();
pDisp->QueryInterface(IID_IHTMLDocument2, (void**)&pDoc); pDisp->Release();
pDoc->Release();
HRESULT GetDHtmlDocument(
IHTMLDocument2 **pphtmlDoc
);