BCGControlBar Pro for MFC
virtual BCGP_DOCK_TYPE CBCGPBaseControlBar::GetDockMode ( ) const

Returns the current dock mode for the control bar.


One of BCGP_DOCK_TYPE enumerated values:

  • BCGP_DT_IMMEDIATE: control bar is dragged and docked with a window context
  • BCGP_DT_STANDARD: control bar is dragged using a drag rectangle.
  • BCGP_DT_SMART: control bar is dragged with content and docked used Visual Studio-style markers.

This function is called by the framework to determine the current docking mode of the control bar.

By setting m_dockMode or overriding GetDockMode() you can control an individual docking mode for each control bar.