开发者

how to create button in internet explorer?

开发者 https://www.devze.com 2022-12-28 16:45 出处:网络
I am developing a simple c++ program inside Microsoft Visual Studio. This program will later be convert to DLL, in order to register it to Internet Explorer.

I am developing a simple c++ program inside Microsoft Visual Studio. This program will later be convert to DLL, in order to register it to Internet Explorer.

Inside my program, I would like to do like this:

 if flag=1,
   toolbar_button = green;
 else
   toolbar button = red;

I want to create a simple button on 开发者_如何学运维the Internet Explorer, and the button can reflects the color that I pass from my c++ program.

How can I achieve this?

Update: So far, I follow this manual http://msdn.microsoft.com/en-us/library/aa753588%28VS.85%29.aspx#details_script . I do it inside my Windows XP and IE8. It still does not work. No button appear on the IE toolbar.

0

精彩评论

暂无评论...
验证码 换一张
取 消