BCGControlBar Pro for MFC
static void CBCGPMiniFrameWnd::BringAllMiniFramesToWorkArea ( int  nVisibleWidth = -1)

Moves all mini frame windows located outside the work area to the current work area.

This static method loops over all mini frame windows, detects windows located outside of the current work area and brings them to the work area.

This method should be called after LoadState to prevent situation when the current (loaded) state does not conform to the current size of the work area and some windows are loaded outside.

nVisibleWidthSpecified the size of part of mini frame to be displayed when the window is moved to the working area. If you wish to make the window fully visible, specify its height or width.