Share via


CPane::CalcInsideRect

Calculates the inside rectangle of a pane, including the borders and grippers.

void CalcInsideRect(
    CRect& rect,
    BOOL bHorz 
) const;

Parameters

  • [out] rect
    Contains the size and offset of the client area of the pane.

  • [in] bHorz
    TRUE if the pane is oriented horizontally; otherwise, FALSE.

Remarks

This method is called by the framework when it has to recalculate the layout for a pane. The rect parameter is filled with the size and offset of the client area of the pane. This includes its borders and grippers.

Requirements

Header: afxPane.h

See Also

Reference

CPane Class

Hierarchy Chart