Simple VC++ DHTML Hooking Technique - 项目摘要 |
摘要
| 管理 |
论坛 文档
| 软件包 |
|
|
|
项目描述: |
This example demonstrates how to access DHTML object model and how to intercept the DHTML element events, it also demonstrates how to use connectionpoint with MFC. The demo program first loads up a sample html page containing two button elements and a listbox element. Then it accesses a button element DHTML object and intercepts its Click, DoubleClick, MouseMove, MouseOver, MouseDown, MouseUp events. After the program intercepts an event, it records the event information to a ListBox element on sample html page. The example is showing that MSHTML is very useful for internet and web programming. I hope this example provides some help for any one who want to use MSHTML library. (You need to download ie5_lib or a later IE library to compile the demo project)
这个例子演示了如何访问DHTML 对象模型,以及截获DHTML 元素的事件,也演示了如何用MFC连接点。演示程序首先加载一个包含两个按钮和一个列表框元素的样例HTML页面。接着它访问一个按钮元素的的DHTML 对象,截获它的Click, DoubleClick, MouseMove, MouseOver, MouseDown, MouseUp 事件。在程序截获事件之后,它记录事件信息到样例html页面的一个ListBox 中。例子说明MSHTML 对于Internet和Web编程是非常有用的。我希望这个例子为使用MSHTML 库的人有所帮助。(你需要下载ie5_lib 或更高版本的IE库来编译演示程序)。
来源: http://www.codeguru.com/ieprogram/dhtmlhook.html |
类别: |
|
发布者:
cbd002
|
|
最新发布源码包 |
软件包 |
版本号 |
日期 |
本地下载 |
dhtmlhook_demo |
 1.0  |
2004-04-19 |
下载 |
|
|