BCGControlBar Pro for MFC
virtual void CBCGPBaseControlBar::SetBarAlignment ( DWORD  dwAlignment)

Sets the current alignment for a control bar.

SetBarAlignment sets a control bar alignment. Usually, it's called by the framework when a control bar is being docked from one side of the main frame to another.

dwAlignmentSpecifies the new alignment to set.