BCGControlBar Pro for MFC
virtual BOOL CBCGPOutlookBar::DoesAllowDynInsertBefore ( ) const

Indicates whether it is possible to dynamically dock control bars at the outer edge of an outlook bar.

The default implementation returns FALSE.

Usually you create an outlook bar as a "static" non-floating control. It's good idea to dock "dynamic" control bars after "static". The framework calls the DoesAllowDynInsertBefore function when it looks for a place to dock a "dynamic" control bar. If the function returns FALSE, the framework does not allow to dock any "dynamic" control bar at the outer edges of a "static" control bar. You can override this function in a derived class and return TRUE to change this behavior.

Reimplemented from CBCGPBaseControlBar.