Udostępnij za pośrednictwem


COleClientItem::ReactivateAndUndo

Call this function to reactivate the OLE item and undo the last operation performed by the user during in-place editing.

BOOL ReactivateAndUndo( );

Return Value

Nonzero if successful; otherwise 0.

Remarks

If your container application supports the undo command, call this function if the user chooses the undo command immediately after deactivating the OLE item.

If the server application is written with the Microsoft Foundation Class Libraries, this function causes the server to call COleServerDoc::OnReactivateAndUndo.

For more information, see IOleInPlaceObject::ReactivateAndUndo in the Windows SDK.

Requirements

Header: afxole.h

See Also

Reference

COleClientItem Class

Hierarchy Chart

COleServerDoc::OnReactivateAndUndo

COleClientItem::OnDeactivateAndUndo

Other Resources

COleClientItem Members