Compartilhar via


CPane::CalcAvailableSize

Calculates the difference in size between a specified rectangle and the current window rectangle.

virtual CSize CalcAvailableSize(
   CRect rectRequired
);

Parameters

  • [in] rectRequired
    The required rectangle.

Return Value

The difference in width and height between rectRequired and the current window rectangle.

Requirements

Header: afxpane.h

See Also

Reference

CPane Class

Hierarchy Chart