BCGControlBar Pro for MFC
virtual void CBCGPControlBar::AdjustSizeImmediate ( BOOL  bRecalcLayout = TRUE)

Immediately recalculates layout of a control bar.

Use this method when you dynamically change layout of a control bar. For example, it may be useful when you hide/show toolbar buttons.

bRecalcLayoutIf TRUE, the whole application layout is recalculated and adjusted.