BCGControlBar Pro for MFC
virtual BOOL CBCGPBaseControlBar::DoesAllowDynInsertBefore ( ) const
inlinevirtual

Determines whether it is possible to dynamically insert a control bar before this control bar.

Returns
Nonzero if it's possible to insert another control before; otherwise 0.

Called by the framework to determine whether it's possible to dynamically insert a control bar before this control bar.

For example, if you want to create a control bar docked at the left side of the frame (like outlook bar) and you want to disable the user to dock another control bar from the left (in the way this control bar will not be the leftmost control bar in the docking layout), you should override this method and return FALSE.

It's highly recommended to override this method and return FALSE for non-floating control bars derived from CBCGPDockingControlBar.

The default implementation returns TRUE.

Reimplemented in CBCGPOutlookBar.