如何在IE9中的HTML窗口上绘制图形? [英] How to draw graphics on the HTML window in IE9?

查看:53
本文介绍了如何在IE9中的HTML窗口上绘制图形?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我实现的功能有点像 IE Developer Tool


我需要在HTML窗口上绘制一个矩形,以便 标记所选元素。


在IE6 / 7/8中,我将HTML窗口子类化,处理WM_PAINT消息并且工作正常。


但是在IE9中,因为它使用的是Direct3D,而不是GDI,所以上面的方法不起作用。


我想知道IE9中有什么方法可以使用吗?


我注意到新界面
ISurfacePresenter
。我不知道是否可以使用此界面。


如果  我可以,如何使用此界面,是否有任何示例?


非常感谢你的帮助。

解决方案



感谢您的提问。



I我试图让熟悉这个话题的人参与进一步研究这个问题。可能会有一些时间延迟。感谢您的耐心等待。



Thank您的理解和支持。


Yi


The feature I achieved is a little like IE Developer Tool.

I need to draw a rectangle on the HTML window to mark the selected element.

In IE6/7/8, I subclass the HTML window, process the WM_PAINT message and it works fine.

but in IE9, as it uses Direct3D, not GDI, so the way above does not work.

I want to know is there any way that can work in IE9 ?

I notice the new interface ISurfacePresenter. I don't know if I can make use of this interface.

if  I can, how to use this interface and Is there any example?

I appreciate your help very much.

解决方案

Hi,

Thank you for your question.

I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience.

Thank you for your understanding and support.

Yi


这篇关于如何在IE9中的HTML窗口上绘制图形?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆