我爱Aspx >> VC.Net >> <b>在ATL Browser Helper对象中使用WTL TreeView(英文)</b>To compile this project you will need to put WTL version 3.1 headers somewhere in your path. You can get them as the part of Platform SDK. Declarations for Explorer and HTML interfaces come from the import statement in my StdAfx.h:
#import "c:\winnt\system32\mshtml.tlb" named_guids
#import "c:\winnt\system32\shdocvw.dll" named_guids
You will need to change paths to point to the correct location on your machine. Just in case, if you download source code, there is one compiled component DLL in ReleaseMinDependency folder. Register it with Regsvr32 and you will get DOM tree display the next time you open IE.
I tested this COM server on Win95 with IE 5.0 and on Win2000 with IE 6.0, UNICODE and MBCS Minimum dependency Release compilations. At the time of posting this, I am not aware of any crippling bugs.
With such good article as Dino Esposito@#s "Browser Helper Objects: The Browser the Way You Want It" available in MSDN Library, I won@#t waste space explaining how BHOs work.
【我对这篇文章有话说?】
<b>在VC下显示JPEG、GIF格..[05-21]
<b>Visual C++中基于多文档..[05-21]
<b>消息钩子函数入门篇<..[05-21]
<b>平台+插件软件设计思想..[05-21]
<b>如何在VC中改变控件的背..[05-21]
<b>用Visual C++实现带阴影..[05-21]
<b>用VC++6.0开发多表联接..[05-21]
<b>VC++中用通讯控件开发串..[05-21]
加解密文本的函数[05-21]
Access安全性之QA详解[05-21]