Freigeben über


COleServerDoc::OnDeactivate

Called by the framework when the user deactivates an embedded or linked item that is currently in-place active.

virtual void OnDeactivate( );

Remarks

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

The undo state information should be unconditionally released at this point.

For more information, see the article Activation..

Requirements

Header: afxole.h

See Also

Concepts

COleServerDoc Class

COleServerDoc Members

Hierarchy Chart

COleServerDoc::ActivateInPlace

COleServerDoc::OnDeactivateUI

COleServerDoc::DestroyInPlaceFrame