Is there any way to draw Webbrowser content to a specific DC?

后端 未结 2 1090
谎友^
谎友^ 2021-01-15 16:44

These days, I tries to create a hiden WebBrowser control in my program, and Using the IViewObject interface draw to my custom DC.

The result is fine, I got All the c

2条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-15 17:16

    There is no other way to do this. None of the components you're using--IE, Flash, etc--were designed to be used this way. If draw time is an issue, you have to do it on a separate thread and synchronize.

提交回复
热议问题