다음을 통해 공유


COleServerDoc::OnShowControlBars

The framework calls this function to show or hide the server application's control bars associated with the frame window identified by pFrameWnd.

virtual void OnShowControlBars(
   CFrameWnd *pFrameWnd,
   BOOL bShow 
);

Parameters

  • pFrameWnd
    Pointer to the frame window whose control bars should be hidden or shown.

  • bShow
    Determines whether control bars are shown or hidden.

Remarks

The default implementation enumerates all control bars owned by that frame window and hides or shows them.

Requirements

Header: afxole.h

See Also

Reference

COleServerDoc Class

Hierarchy Chart

COleServerDoc::ActivateInPlace

COleServerDoc::OnReactivateAndUndo

COleServerDoc::OnFrameWindowActivate

COleServerDoc::IsInPlaceActive

Other Resources

COleServerDoc Members