BCGControlBar Pro for MFC
void CBCGPFrameWnd::EnableLoadDockState ( BOOL  bEnable = TRUE)

Enables or disables loading of docking state.

Use this function to disable loading of docking state.

CBCGPWorkspace::LoadState restores the application state (main frame window size and position, active tab state, customization state and so on) along with the state of docking control bars. If you disable loading of docking state, all docking control bars will take default positions, specified by developers during initialization process.

The loading of docking state is enabled by default.

bEnableTRUE - enable loading of docking state, FALSE - disable loading of docking state.