Поделиться через


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 
);

Параметры

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

  • bShow
    Determines whether control bars are shown or hidden.

Заметки

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

Требования

Header: afxole.h

См. также

Основные понятия

COleServerDoc Class

COleServerDoc Members

Hierarchy Chart

COleServerDoc::ActivateInPlace

COleServerDoc::OnReactivateAndUndo

COleServerDoc::OnFrameWindowActivate

COleServerDoc::IsInPlaceActive