SECFrameWnd::EnableDocking

voidSECFrameWnd::EnableDocking(DWORDdwDockStyle, DWORDdwDockStyleEx)

Enables docking for the frame. This function must be called in the Create function for the frame before any attempts to use dockable bars of any kind.

Defined in: swinfrm.cpp

Return Value

void

Parameters

dwDockStyle

The docking styles supported. Only CBRS_ALIGN_XXX or CBRS_FLOAT_MULTI are allowed.

dwDockStyleEx

The docking styles supported. Only SEC_DOCKBAR_NOWEIGHT is supported at this time. This style will cause the percentage supplied in the DockControlBarEx for the bar width to be respected when floating and re-docking the bar.