文件名称:enum_selected_elements_demo
- 所属分类:
- ISAPI/IE编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 160kb
- 下载次数:
- 0次
- 提 供 者:
- gaem*****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
How to identify the different elements in the selection of web pages
<H2>Introduction</H2>
<P>First, I get an IHTMLDocument2 interface for the browser component and then
get the selection property of the interface to get an
<CODE>IHTMLSelectionObject</CODE> interface. Now came the tough part, actually
parsing the stuff. I d assumed that if I was able to create a control range
using the <CODE>createRange</CODE> method for the selection, that I d be able to
get a list which would have the HTML tags and their attributes neatly
separated.</P>
<H2>Introduction</H2>
<P>First, I get an IHTMLDocument2 interface for the browser component and then
get the selection property of the interface to get an
<CODE>IHTMLSelectionObject</CODE> interface. Now came the tough part, actually
parsing the stuff. I d assumed that if I was able to create a control range
using the <CODE>createRange</CODE> method for the selection, that I d be able to
get a list which would have the HTML tags and their attributes neatly
separated.</P>
相关搜索: IHTMLDocument2
(系统自动生成,下载前可以参看下载内容)
下载文件列表
IESelection.cpp
MainFrm.cpp
MainFrm.h
mfc_selection.clw
mfc_selection.cpp
mfc_selection.dsp
mfc_selection.dsw
mfc_selection.h
mfc_selection.positions
mfc_selection.rc
mfc_selectionDoc.cpp
mfc_selectionDoc.h
mfc_selectionView.cpp
mfc_selectionView.h
ReadMe.txt
Release
.......\mfc_selection.exe
.......\msdn.htm
.......\msdn_files
.......\..........\ADSAdClient31(1).htm
.......\..........\ADSAdClient31(1)_files
.......\..........\ADSAdClient31.htm
.......\..........\ADSAdClient31_files
.......\..........\aggbug(1).gif
.......\..........\aggbug(2).gif
.......\..........\aggbug.gif
.......\..........\arrowLTR.gif
.......\..........\biscuit.js
.......\..........\brianjo.jpg
.......\..........\broker.js
.......\..........\css(1).css
.......\..........\css.css
.......\..........\datablue.jpg
.......\..........\dc2e.css
.......\..........\home.gif
.......\..........\js.aspx
.......\..........\left_bnr_visualc.jpg
.......\..........\menujs.config&clicktrax=True
.......\..........\mmcglobal.js
.......\..........\MSDNWebcasts.jpg
.......\..........\msdn_masthead_ltr.gif
.......\..........\ratings(1).htm
.......\..........\ratings(1)_files
.......\..........\................\ie4.css
.......\..........\................\rtg_email.gif
.......\..........\................\rtg_print.gif
.......\..........\................\rtg_save.gif
.......\..........\ratings.htm
.......\..........\ratings_files
.......\..........\.............\ie4.css
.......\..........\.............\rtg_email.gif
.......\..........\.............\rtg_print.gif
.......\..........\.............\rtg_save.gif
.......\..........\right_bnr_vstudio.jpg
.......\..........\rss_button.gif
.......\..........\SmartComponents.css
.......\..........\text.jpg
.......\..........\top.gif
.......\..........\top_APILinks.jpg
.......\..........\top_Downloads.jpg
.......\..........\top_getStart.jpg
.......\..........\top_Support.jpg
.......\..........\top_vc2005.jpg
.......\..........\top_vctoolkit03.jpg
.......\..........\trans_pixel.gif
.......\..........\VCToolkitDMod.gif
.......\..........\visualc.htm
.......\..........\VS2005.jpg
.......\..........\WinHEC_generic_logo.gif
res
...\mfc_selection.rc2
resource.h
StdAfx.cpp
StdAfx.h
MainFrm.cpp
MainFrm.h
mfc_selection.clw
mfc_selection.cpp
mfc_selection.dsp
mfc_selection.dsw
mfc_selection.h
mfc_selection.positions
mfc_selection.rc
mfc_selectionDoc.cpp
mfc_selectionDoc.h
mfc_selectionView.cpp
mfc_selectionView.h
ReadMe.txt
Release
.......\mfc_selection.exe
.......\msdn.htm
.......\msdn_files
.......\..........\ADSAdClient31(1).htm
.......\..........\ADSAdClient31(1)_files
.......\..........\ADSAdClient31.htm
.......\..........\ADSAdClient31_files
.......\..........\aggbug(1).gif
.......\..........\aggbug(2).gif
.......\..........\aggbug.gif
.......\..........\arrowLTR.gif
.......\..........\biscuit.js
.......\..........\brianjo.jpg
.......\..........\broker.js
.......\..........\css(1).css
.......\..........\css.css
.......\..........\datablue.jpg
.......\..........\dc2e.css
.......\..........\home.gif
.......\..........\js.aspx
.......\..........\left_bnr_visualc.jpg
.......\..........\menujs.config&clicktrax=True
.......\..........\mmcglobal.js
.......\..........\MSDNWebcasts.jpg
.......\..........\msdn_masthead_ltr.gif
.......\..........\ratings(1).htm
.......\..........\ratings(1)_files
.......\..........\................\ie4.css
.......\..........\................\rtg_email.gif
.......\..........\................\rtg_print.gif
.......\..........\................\rtg_save.gif
.......\..........\ratings.htm
.......\..........\ratings_files
.......\..........\.............\ie4.css
.......\..........\.............\rtg_email.gif
.......\..........\.............\rtg_print.gif
.......\..........\.............\rtg_save.gif
.......\..........\right_bnr_vstudio.jpg
.......\..........\rss_button.gif
.......\..........\SmartComponents.css
.......\..........\text.jpg
.......\..........\top.gif
.......\..........\top_APILinks.jpg
.......\..........\top_Downloads.jpg
.......\..........\top_getStart.jpg
.......\..........\top_Support.jpg
.......\..........\top_vc2005.jpg
.......\..........\top_vctoolkit03.jpg
.......\..........\trans_pixel.gif
.......\..........\VCToolkitDMod.gif
.......\..........\visualc.htm
.......\..........\VS2005.jpg
.......\..........\WinHEC_generic_logo.gif
res
...\mfc_selection.rc2
resource.h
StdAfx.cpp
StdAfx.h