BCGControlBar Pro for MFC
virtual DWORD CBCGPBaseControlBar::GetEnabledAlignment ( ) const
inlinevirtual

Returns the enabled alignment.

Returns
A combination of CBRS_ALIGN_ styles.

Call this function to determine the enabled alignment for the control bar. It can be any combination of the following flags:

  • CBRS_ALIGN_LEFT
  • CBRS_ALIGN_RIGHT
  • CBRS_ALIGN_TOP
  • CBRS_ALIGN_BOTTOM
  • CBRS_ALIGN_ANY (the definition for the combination of all flags above).

Enabled alignment means the sides of the main frame window a control bar can be docked to. You can enable docking alignment using EnableDocking().