• 您的位置我爱Aspx >> VC.Net >> <b>在ATL Browser Helper对象中使用WTL TreeView(英文)</b>
  • <b>在ATL Browser Helper对象中使用WTL TreeView(英文)</b>

  • 作者:aspxer  来源:internet  日期:2007-5-21 23:13:10  关键字:
  • 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.

    我对这篇文章有话说?
  • 广告位招租,广告代号:content_468_15
  • 上一篇:<b>利用WinSock进行无连接的通信</b>
    下一篇:<b>在VC下显示JPEG、GIF格式图像的一种简便方法</b>
  • 相关文章