Share via


CDockingPanesRow::ArrangePanes

Arranges docking panes in a row according to the specified margin and spacing parameters.

virtual void ArrangePanes(
    int nMargin,
    int nSpacing 
);

Parameters

  • [in] nMargin
    Specifies the offset, in pixels, of the first pane from the upper-left corner of the row.

  • [in] nSpacing
    Specifies the spacing, in pixels, between panes.

Remarks

Call this method to arrange panes in the row where they will dock. After calling this method, you must call CDockingPanesRow::FixupVirtualRects(FALSE, NULL).

Requirements

Header: afxDockingPanesRow.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CDockingPanesRow Class