Introduction
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 which contains two button elements and a listbox element. Then it accesses button element DHTML object and intercepts its Click
, DoubleClick
, MouseMove
, MouseOver
, MouseDown
and MouseUp
events. After the program intercepts an event, it records the event information to the listbox element on the sample HTML page. The example shows that MSHTML is very useful for Internet and web programming. I hope this example would provide some help for any one who wants to use MSHTML library. (You need to download ie5_lib or later IE library to compile the demo project.)
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.