CPane::GetAvailableStretchSize

Returns the amount, in pixels, that the pane can shrink.

virtual int GetAvailableStretchSize() const;

Return Value

The amount, in pixels, that the pane can shrink. If the pane is docked horizontally, this amount is the available width; otherwise, it is the available height.

Remarks

The available stretch size is calculated by subtracting the minimum allowed size for the pane (CPane::GetMinSize) from the current size (CWnd::GetWindowRect).

Requirements

Header: afxpane.h

See Also

Reference

CPane Class

Hierarchy Chart