共用方式為


CFrameWnd::ShowControlBar

Call this member function to show or hide the control bar.

void ShowControlBar(
   CControlBar* pBar,
   BOOL bShow,
   BOOL bDelay 
);

Parameters

  • pBar
    Pointer to the control bar to be shown or hidden.

  • bShow
    If TRUE, specifies that the control bar is to be shown. If FALSE, specifies that the control bar is to be hidden.

  • bDelay
    If TRUE, delay showing the control bar. If FALSE, show the control bar immediately.

Requirements

Header: afxwin.h

See Also

Reference

CFrameWnd Class

Hierarchy Chart

Other Resources

CFrameWnd Members