| Ole4D Methods | ||||||||||||||
|
OCDenyInPlace(p_AreaVar;p_Deny) Instructs the container(plug-in area) to allow or deny in place activation for it's ole object. It is recommended to call this method before creation and activation of the Ole object. In this phase most of the ole objects comply to the container's request. Some Ole objects ignore this property when they are created and activated. By default the container allows in place activation. If the Ole object is denied the in place activation, it will be activated in a separate window instead the plug-in area. Parameters
Return Values 0 – In case that the methods call was successful. If the area sent as parameter is invalid the return value is the operating system code of invalid parameter error. Remarks The value set by calling this method is persistent; it is saved and loaded from blobs during calls to OCSaveToBlob and OCCreaFromBlob. | ||||||||||||||