BCGControlBar Pro for MFC
void CBCGPDialog::EnableLayout ( BOOL  bEnable = TRUE,
CRuntimeClass *  pRTC = NULL,
BOOL  bResizeBox = TRUE,
BOOL  bLoadMFCResourceLayout = FALSE 
)

Enables or disables layout manager for a dialog box

If you specify a custom layout manager (pRTC), it must be derived from CBCGPControlsLayout or one of its descendants.

Parameters
bEnableTRUE - enable layout management, FALSE - disable layout management.
pRTCA pointer to a runtime class information of custom layout manager.
bResizeBoxTRUE - display resize box; FALSE - don't display resize box.
bLoadMFCResourceLayoutSpecifies whether MFC layout should be loaded from the dialog resource.