BCGControlBar Pro for MFC
void CBCGPToolBar::SetPermament ( BOOL  bPermament = TRUE)
inline

Sets a flag indicating that a toolbar is permanent and can't be closed.

Some toolbars can't be closed, for example, the menu bar. Call this function to set a toolbar in "permanent" state.

By default, a toolbar is not permanent (can be closed).

Parameters
bPermamentTRUE - toolbar is permanent and can't be closed; FALSE - toolbar can be closed.