Erik Walter wrote:
Steve Williams wrote:


I tried doing a similar thing a while ago. One of the problems I ran into was rendering plugin regions (flash,java, etc.). The problem was, as I recall that the ns plugin interface passes plugins a Windows native window handle, rather than a DC/region to render to.


If you've made any progress in this area, I would be very interested in discussing it further.


Right... unfortunately I haven't solved that. But for the project I was working on, it was sufficient to just ignore plugins. Since you're really not doing anything interactive in an offscreen render, it seemed sufficient to ignore most plugins as they require interaction (what do you render to a bitmap for a flash presentation?)



> what do you render to a bitmap for a flash presentation?


Ideally, whatever is displayed in it when you perform the render.

At some stage, this issue will need addressing properly. A general solution to the offscreen rendering problem must include the ability
to render plugins offscreen. It may well be that the solution requires additional functionality to be added to the plugin spec/interface to enable plugins to render themselves offscreen to a DC or a bitmap.
I'll give this a little more thought & see if I can come up with a proposal.


Anyone else with thoughts on this matter, please comment,

- Steve.


Reply via email to