COleServerDoc::OnDocWindowActivate

The framework calls this function to activate or deactivate a document window for in-place editing.

virtual void OnDocWindowActivate(
   BOOL bActivate 
);

Parameters

  • bActivate
    Specifies whether the document window is to be activated or deactivated.

Remarks

The default implementation removes or adds the frame-level user interface elements as appropriate. Override this function if you want to perform additional actions when the document containing your item is activated or deactivated.

For more information, see the article Activation..

Requirements

Header: afxole.h

See Also

Reference

COleServerDoc Class

Hierarchy Chart

COleServerDoc::ActivateInPlace

COleServerDoc::OnReactivateAndUndo

COleServerDoc::OnShowControlBars

COleServerDoc::OnDeactivateUI

COleServerDoc::OnFrameWindowActivate

COleIPFrameWnd Class

Other Resources

COleServerDoc Members