Create an OleControlSite child widget using 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 progId the unique program identifier which has been registered for this ActiveX Control;
the value of the ProgID key or the value of the VersionIndependentProgID key specified
in the registry for this Control (for example, the VersionIndependentProgID for
Internet Explorer is Shell.Explorer)
@exception IllegalArgumentException <ul>
<li>ERROR_NULL_ARGUMENT when the parent is null
*</ul>
@exception SWTException <ul>
<li>ERROR_THREAD_INVALID_ACCESS when called from the wrong thread
<li>ERROR_INVALID_CLASSID when the progId does not map to a registered CLSID
<li>ERROR_CANNOT_CREATE_OBJECT when failed to create OLE Object
<li>ERROR_CANNOT_ACCESS_CLASSFACTORY when Class Factory could not be found
<li>ERROR_CANNOT_CREATE_LICENSED_OBJECT when failed to create a licensed OLE Object
</ul>
Create an OleControlSite child widget using 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 progId the unique program identifier which has been registered for this ActiveX Control; the value of the ProgID key or the value of the VersionIndependentProgID key specified in the registry for this Control (for example, the VersionIndependentProgID for Internet Explorer is Shell.Explorer)
@exception IllegalArgumentException <ul> <li>ERROR_NULL_ARGUMENT when the parent is null *</ul> @exception SWTException <ul> <li>ERROR_THREAD_INVALID_ACCESS when called from the wrong thread <li>ERROR_INVALID_CLASSID when the progId does not map to a registered CLSID <li>ERROR_CANNOT_CREATE_OBJECT when failed to create OLE Object <li>ERROR_CANNOT_ACCESS_CLASSFACTORY when Class Factory could not be found <li>ERROR_CANNOT_CREATE_LICENSED_OBJECT when failed to create a licensed OLE Object </ul>