共用方式為


COleServerDoc::OnFrameWindowActivate

The framework calls this function when the container application's frame window is activated or deactivated.

virtual void OnFrameWindowActivate(
   BOOL bActivate 
);

Parameters

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

Remarks

The default implementation cancels any help modes the frame window might be in. Override this function if you want to perform special processing when the frame window is activated or deactivated.

For more information, see the article Activation..

Requirements

Header: afxole.h

See Also

Reference

COleServerDoc Class

Hierarchy Chart

COleServerDoc::OnDocWindowActivate

Other Resources

COleServerDoc Members