Поделиться через


CFrameWndEx::EnableDocking

Enables the docking of the panes of the frame window.

BOOL EnableDocking(
   DWORD dwDockStyle 
);

Parameters

  • [in] dwDockStyle
    Specifies the side of the main frame window where the pane bar docks.

Return Value

TRUE if a bar pane can be successfully docked at the specified side. FALSE otherwise.

Remarks

The dwDockStyle parameter can have one of the following values:

  • CBRS_ALIGN_TOP

  • CBRS_ALIGN_BOTTOM

  • CBRS_ALIGN_LEFT

  • CBRS_ALIGN_RIGHT

Requirements

Header: afxframewndex.h

See Also

Reference

CFrameWndEx Class

Hierarchy Chart