Share via


COleServerDoc::OnDocWindowActivate

virtualvoidOnDocWindowActivate(BOOLbActivate**);**

Parameters

bActivate

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

Remarks

The framework calls this function to activate or deactivate a document window for in-place editing. 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 in Visual C++ Programmer’s Guide.

COleServerDoc OverviewClass MembersHierarchy Chart

See Also   COleServerDoc::ActivateInPlace, COleServerDoc::OnReactivateAndUndo, COleServerDoc::OnShowControlBars, COleServerDoc::OnDeactivateUI, COleServerDoc::OnFrameWindowActivate, COleIPFrameWnd