dcsimg

Simple VC++ DHTML Hooking Technique

WEBINAR:
On-Demand

Desktop-as-a-Service Designed for Any Cloud ? Nutanix Frame


Environment: VC6 SP4, ie5, ie5-lib

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)

Downloads

Download demo project - 48 Kb


Comments

  • There are no comments yet. Be the first to comment!

  • You must have javascript enabled in order to post comments.

Leave a Comment
  • Your email address will not be published. All fields are required.

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date