GetMaxScrollTop - returns the maximal extent of scrolling upwards.
Source position: comctrls.pp line 3580
protected function TCustomTreeView.GetMaxScrollTop: Integer;