IRichEditOle::ActivateAs  02T_KP

Handles OLE  Activate As  behavior by unloading all objects of the old class, telling OLE to treat those objects as objects of the new class, and reloading the objects. If objects cannot be reloaded, they are deleted.

HRESULT ActivateAs(

    REFCLSID rclsid,

 

    REFCLSID rclsidAs

 

   );

 

 

Parameters

rclsid

Class identifier of the old class.

rclsidAs

Class identifier of the new class.

 

Return Values

Returns success status. Use GetScodeAJMLLO to retrieve an SCODE. Can be S_OK on success or an SCODE returned from OLE.

See Also

IRichEditOle