COleServerDoc::OnDeactivate

virtual void OnDeactivate( );

Remarks

Called by the framework when the user deactivates an embedded or linked item that is currently in-place active. 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 in Visual C++ Programmer’s Guide.

COleServerDoc OverviewClass MembersHierarchy Chart

See Also   COleServerDoc::ActivateInPlace, COleServerDoc::OnDeactivateUI, COleServerDoc::DestroyInPlaceFrame