BCGControlBar Pro for MFC
BOOL CBCGPMDIFrameWnd::m_bDisableSetRedraw
static

Enables or disables redraw optimization for MDI children.

Set this member variable to FALSE if you want to optimize redrawing of MDI children. In this case the framework will call SetRedraw (FALSE) for the main frame when the active tab is being changed.

The default value is TRUE.

Sometimes this flag may cause undesired effects (background applications become visible), therefore we recommend to change the default only if you experience noticeable flickering during MDI tab activation.