[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Extending Mozilla Tutorial

  • From: "Heikki Toivonen" <heikki@c...>
  • To: <xml-dev@i...>, <XML-L@L...>, <xml-app@s...>
  • Date: Tue, 16 Mar 1999 14:06:08 +0200

xpcom plugin
Extending Mozilla Tutorial

Me (Heikki Toivonen) and Johnny Stenback presented a tutorial
called "Extending Mozilla or How To Do The Impossible" at the
XTech'99 in San Jose, California (March 7).

This tutorial is now online at:

http://www.doczilla.com/development/index.html

We are correcting and updating the handout, which should appear
there shortly. The sample code is downloadable already.

We plan to keep this tutorial up to date so that when the APIs
change we will change our samples as well. This should be the
definitive place to find out how to write XPCOM modules and plugins
and especially how to embed and extend Mozilla in various ways.

All comments are welcome. We would be really interested to know if
there are any errors etc. in this material.

We hope you will find this material useful.


Sample Code


XPCOM Hello World

We created an XPCOM component that can automatically register itself. 
The component's only functionality is that it writes "Hello World!" 
to standard output, but it is the only up to date sample application 
on how to use XPCOM. A sample test program is also provided.


Embedding MozillaControl ActiveX Component

In this sample we have created a simple HTML/XML editor with preview. 
The preview is handled by the MozillaControl. Another tool in this 
sample is a double browser, which has both MozillaControl and the
Microsoft IE ActiveX control side by side. It is easy to check that 
pages you have created will look okay with both products. We used 
Microsoft Access for this sample, which you will need to get something out
of this sample.


Frankenbrowser with DOM Tree View

This sample includes an MFC dialog that shows the documents structure 
in a tree view. It is possible to view a node's content in the tree 
view and also delete nodes in the tree view. Deletions get reflected back
in the viewer.


Embedding NGLayout Programmatically

In this sample we have embedded a web shell in an MFC dialog application. 
It shows how easy it is to add web browser support to any application 
on any platform, although we used only MFC on Windows.


XPCOM Plugin

We are working on an XPCOM plugin sample. It is not yet available.

--
  Heikki Toivonen
  http://www.doczilla.com
  http://www.citec.fi

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.