On Jan 28, 7:03 pm, niko <[EMAIL PROTECTED]> wrote: > Hi, > > We would like to automate a Mozilla based web browser to create > screenshots of certain web pages. Therefore we are looking for > somebody to implement an ActiveX wrapper for Mozilla, that offers > custom interfaces. > > The ToDos are: >
Just an FYI, the ActiveX control already supports the BeforeNavigate, NavigateComplete and DocumentComplete events. The NavigateError event looks like it is not impemented, but I think a patch to add it would be good. See here for the event definitions: http://mxr.mozilla.org/seamonkey/source/embedding/browser/activex/src/control/MozillaControl.idl#415 and here for the code that fires the events: http://mxr.mozilla.org/seamonkey/source/embedding/browser/activex/src/control/WebBrowserContainer.cpp Unfortunately, the other API methods you want don't seem to be standard for the Microsoft WebBrowser control, so we really can't add them to the control itself. However, you can add them to a custom build, which sounds like what you want to do. You might be able to implement the scroll related methods using the DOM document property to access the HTML body and then scroll using it's API. Finally, to build the activex control, follow the build instructions for building XULRunner. General build instructions here: http://developer.mozilla.org/en/docs/Build_Documentation Note the Windows build pre-reqs: http://developer.mozilla.org/en/docs/Windows_Build_Prerequisites _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
