BCGSuite for MFC
void CBCGPStaticLayout::DisableOnAddAnchorError ( BOOL  bDisable = TRUE)
inline

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.

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