Ole4D Methods

OCActivate(p_AreaVar)


Activates the object contained in the plug-in area p_AreaVar. Activation enables the ole object to receive user input.
The object must be created with the OCCreaFromProgId or the OCCreaFromCLSId command.


Parameters
Parameter Type   Description
p_AreaVar Longint  -> Variable of the plug-in area.


Return Values
0 – The method call was successful.
If the method call was not successful the return value is non zero. For more information call OCLastError.

Remarks
The area must contain an Ole object at the time this function is called. If no object is associated with the area calling this function was no effect.

See Also
OCDeactivate