BCGControlBar Pro for MFC
virtual void CBCGPToolBar::AdjustLayout ( )

Recalculates and adjusts the size and location of a toolbar.

Call this function when the toolbar has been created to recalculate its size and position.

The framework calls the AdjustLayout function every time the toolbar's layout should be changed due to various events (another control bar was moved, application window was resized, the toolbar is being customized and so on).

You can override this member function to provide your own dynamic layout in classes you derive from CBCGPBaseToolBar.

Reimplemented from CBCGPBaseControlBar.