<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> | |
<title>SWT - OLE Web Browser</title> | |
</head> | |
<body> | |
<h2> | |
<b>Example - OLE Web Browser</b></h2> | |
<h3> | |
Introduction</h3> | |
This example demonstrates how to embed Active X / OLE controls into an | |
SWT application or an Eclipse view. When the view is activated, it | |
will create an instance of a Windows "Shell.Explorer" control and provide | |
a GUI interface to it via OLE Automation. To run this example, Internet | |
Explorer must be installed. | |
<br> | |
<h3> | |
Running the example</h3> | |
To run the Controls Example, pull down the Perspective menu, select the | |
Show View menu item, then select Other from the submenu. A dialog | |
will come up with a list of views. Expand SWT Examples and select | |
the view named OLE Web Browser. A view containing an editor that | |
appears similar to your default web browser will appear. | |
<br> | |
<h3> | |
Details</h3> | |
The OLE Web Browser has Back and Forward buttons to take you to recently | |
visited pages. The browser also contains a Home button to take you | |
to the web browser's home page, a Stop button which stops the current transfer, | |
a Search button which will search for text typed in the Address text field, | |
and a Refresh button which re-draws the contents of the currently displayed | |
page. There is also a Go button which, when clicked, will attempt | |
to load the page specified in the Address field. One would expect | |
each of these operations on every web browser. | |
<br> | |
<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corporation 2000" BORDER=0 height=12 width=195></a> | |
</body> | |
</html> |