Share via


COleClientItem::DeactivateUI

Call this function when the user deactivates an item that was activated in place.

void DeactivateUI( );

Remarks

This function restores the container application's user interface to its original state, hiding any menus and other controls that were created for in-place activation.

This function does not flush the undo state information for the item. That information is retained so that ReactivateAndUndo can later be used to execute an undo command in the server application, in case the container's undo command is chosen immediately after deactivating the item.

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

Requirements

Header: afxole.h

See Also

Reference

COleClientItem Class

Hierarchy Chart

COleClientItem::ReactivateAndUndo

COleClientItem::Activate

Other Resources

COleClientItem Members