CBasePane::GetEnabledAlignment

Returns the CBRS_ALIGN_ styles that are applied to the pane.

virtual DWORD GetEnabledAlignment() const;

Return Value

A combination of CBRS_ALIGN_ styles. The following table shows the possible styles:

Flag

Enabled alignment

CBRS_ALIGN_LEFT

Left.

CBRS_ALIGN_RIGHT

Right.

CBRS_ALIGN_TOP

Top.

CBRS_ALIGN_BOTTOM

Bottom.

CBRS_ALIGN_ANY

Combination of all flags.

Remarks

Call this method to determine the enabled alignment for the pane. Enabled alignment means the sides of the main frame window that a pane can be docked to.

Enable docking alignment by using CBasePane::EnableDocking.

Requirements

Header: afxbasepane.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CBasePane Class