Create an OleClientSite child widget using the OLE Document type associated with the
specified file. The OLE Document type is determined either through header information in the file
or through a Registry entry for the file extension. Use style bits to select a particular look
or set of properties.
@param parent a composite widget; must be an OleFrame
@param style the bitwise OR'ing of widget styles
@param file the file that is to be opened in this OLE Document
@exception IllegalArgumentException
<ul><li>ERROR_NULL_ARGUMENT when the parent is null
<li>ERROR_INVALID_ARGUMENT when the parent is not an OleFrame</ul>
@exception SWTException
<ul><li>ERROR_THREAD_INVALID_ACCESS when called from the wrong thread
<li>ERROR_CANNOT_CREATE_OBJECT when failed to create OLE Object
<li>ERROR_CANNOT_OPEN_FILE when failed to open file
<li>ERROR_INTERFACE_NOT_FOUND when unable to create callbacks for OLE Interfaces
<li>ERROR_INVALID_CLASSID
</ul>
Create an OleClientSite child widget using the OLE Document type associated with the specified file. The OLE Document type is determined either through header information in the file or through a Registry entry for the file extension. Use style bits to select a particular look or set of properties.
@param parent a composite widget; must be an OleFrame @param style the bitwise OR'ing of widget styles @param file the file that is to be opened in this OLE Document
@exception IllegalArgumentException <ul><li>ERROR_NULL_ARGUMENT when the parent is null <li>ERROR_INVALID_ARGUMENT when the parent is not an OleFrame</ul> @exception SWTException <ul><li>ERROR_THREAD_INVALID_ACCESS when called from the wrong thread <li>ERROR_CANNOT_CREATE_OBJECT when failed to create OLE Object <li>ERROR_CANNOT_OPEN_FILE when failed to open file <li>ERROR_INTERFACE_NOT_FOUND when unable to create callbacks for OLE Interfaces <li>ERROR_INVALID_CLASSID </ul>