BCGControlBar Pro for MFC
void CBCGPStaticLayout::DisableOnAddAnchorError ( BOOL  bDisable = TRUE)

Specify whether layout should be disabled upon adding incorrect (non-existing) control.

If parameter 'bDisable' is TRUE and upon adding anchor the layout manager cannot find control with specified ID, the layout is disabled for this window.

bDisable(Optional) True to disable, false to enable.