Compartir a través de


CBasePane::SetPaneAlignment

Sets the alignment for the pane.

virtual void SetPaneAlignment(
   DWORD dwAlignment
);

Parameters

  • [in] dwAlignment
    Specifies the new alignment.

Remarks

Usually, the framework calls this method when a pane is docked from one side of the main frame to another.

The following table shows the possible values for dwAlignment:

Value

Alignment

CBRS_ALIGN_LEFT

Left alignment.

CBRS_ALIGN_RIGHT

Right alignment.

CBRS_ALIGN_TOP

Top alignment.

CBRS_ALIGN_BOTTOM

Bottom alignment.

Requirements

Header: afxbasepane.h

See Also

Reference

CBasePane Class

Hierarchy Chart

CBasePane::GetCurrentAlignment