Partilhar via


CPane::SetBorders

Sets the border values of the pane.

void SetBorders(
    int cxLeft = 0,
    int cyTop = 0,
    int cxRight = 0,
    int cyBottom = 0
);
void SetBorders(
    LPCRECT lpRect
);

Parameters

  • [in] cxLeft
    Specifies the width, in pixels, of the left border of the pane.

  • [in] cyTop
    Specifies the width, in pixels, of the top border of the pane.

  • [in] cxRight
    Specifies the width, in pixels, of the right border of the pane.

  • [in] cyBottom
    Specifies the width, in pixels, of the bottom border of the pane.

  • [in] lpRect
    A CRect object that contains the width, in pixels, of each border of the pane.

Remarks

Call this function to set the sizes of the pane's borders.

Requirements

Header: afxPane.h

See Also

Reference

CPane Class

Hierarchy Chart