I'm working on a DirectShow source filter for HTML (with CSS and JS). I've kludge up something with IE and ActiveX, but it's nasty, and I was hoping to do better with Mozilla. I've hacked the winEmbed embedding sample until it suits my purposes, but the crucial piece is getting mozilla to render to a bitap instead of a window (a.k.a. a screenshot), and notify me (in some way) when the page changes

The only solution that I can see is in the second argument to nsIBaseWindow::InitWindow, which is a parent widget. From looking through the code, it appears to use the parent widget (and its device contexts) instead of the parent window, if it's specified. I could come up with a fake widget with fake contexts to fool it into drawing in it. I was hoping someone might know of an easier way, but no amount of Googling has come up with anything.

Any help, please?

Thanks ...

-- Steve
_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to