CPane::GetAvailableExpandSize
Returns the amount, in pixels, that the pane can expand.
virtual int GetAvailableExpandSize() const;
Return Value
If the pane is docked horizontally, the return value is the available width; otherwise, the return value is the available height.
Requirements
Header: afxpane.h