On Jun 20, 8:27 pm, Frank Burleigh <[EMAIL PROTECTED]> wrote:
> I've always wanted to embed gecko in a few of my win32 apps (made with
> Borland and now CodeGear tools) but it's always been a huge challenge.
> I think Mozilla know this, so I was very excited by Blizzard's May, 2008
> blog posts about this issue.  But it's become silent again (fx3? ;-)
> with the wiki page untouched since March.
>
> My "use case" would be this: I'll make xml from our database, transform
> it with xsl to make html, and style it with css.  I'd then send that to
> the "browser" via a stream.  I'd also need to intercept link clicks,
> which will be commands to my program to do something.
>
> I once made progress using the activex mshtml, but the rendering was IE6
> so frustrating, and controlling the thing was hard because there was
> much to control but little power: intercept links, intercept clicks,
> handle select and copy actions.  I didn't have much luck then with the
> mozilla control because too much of it was a stub at the time, and you
> couldn't "reach into the plumbing" to do the items I described above.
>
> So I wonder these things:
>
> 1. Is the "activex control" packaged in xulrunner 1.9 usable as a
> replacement for mshtml after regsvr32 registration?  Can I reach into
> the plumbing now to do things like intercept link clicks and load the
> view via a stream?  Or are we still strictly exposing an mshtml api?
>
> 2. Is xulrunner an answer to any question I have?
>
> Thanks, all.

The Mozilla ActiveX control _should_ be capable of handling the link
clicks (see OnBeforeNavigate event) and is an easy drop-in for Delphi.
Just make sure you register the control first (regsrv32 mozctlx.dll).

For a less MSHTML-like interface, try out GeckoFx, a .NET-based
Mozilla Wrapper. It should work okay with newer versions of Delphi.

XULRunner is usually the answer to "embedding Mozilla" questions.
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to