四度空间

专注.NET、SharePoint

Super Drag BHO for IE9 (C#)

A nab of mine wants a IE9 BHO with superdrag.

 

The purpose of writing this article is just for a record. Though it is easy, the process of studing on it is not easy, which took me more one night to search related information. Also, the moment when worked it out is delightful.

 

First of all, thanks Tian Fang for his post. (Click here to link to his article)

 

He extended almost all the code for superdrag, the only thing perplexed me is it doesn't work anyway.

I tried to rewrite some code, a different way to get the same result and still can't solve this.

So I have to set some dialog to figure out what is the problem and found that it will fail when goes to

 

 

After searching in Google, the reason is the object he used is not correct. We should use HTMLElementEvents2_Event object in this project. Just change it, build and install the BHO.

Have fun!

posted on 2011-03-26 01:06  月飘冥  阅读(97)  评论(0编辑  收藏  举报

导航