BCGControlBar Pro for MFC
static void CBCGPDockManager::SetDockMode ( BCGP_DOCK_TYPE  dockMode,
BCGP_SMARTDOCK_THEME  theme = BCGP_SDT_DEFAULT 
)
static

Sets new docking mode.

Use this member function to set a new docking mode on the fly.

dockMode can be one of following values:

  • BCGP_DT_STANDARD - standard docking mode implemented as in Visual Studio.NET 2003. Control bars are dragged without context.
  • BCGP_DT_IMMEDIATE - "immediate" docking mode is similar to Microsoft Visio. Control bars are dragged with context, but no markers are displayed.
  • BCGP_DT_SMART - "smart docking" mode is similar to Visual Studio 2008 or later. Control bars are dragged with context and there are "smart" markers on the screen pointing to allowed docking positions.

theme can be one of the following values:

  • BCGP_SDT_DEFAULT - docking markers depend on current Visual Manager.
  • BCGP_SDT_VS2005 - docking markers have VS 2005 look.
  • BCGP_SDT_VS2008 - docking markers have VS 2008 look.
  • BCGP_SDT_VS2010 - docking markers have VS 2010 look.
  • BCGP_SDT_VS2012 - docking markers have VS 2012/2013/2015 look.
Parameters
dockModeSpecifies the new docking mode.
themeSpecifies theme of docking markers