[Lazarus] SetScrollInfo

Hans-Peter Diettrich DrDiettrich1 at aol.com
Fri Nov 25 22:25:21 CET 2011

Hans-Peter Diettrich schrieb:
> TWin32WidgetSet.SetScrollInfo modifies the content of the ScrollInfo
>     ScrollInfo.nMax := Max(ScrollInfo.nMin, ScrollInfo.nMax - 1);
> i.e. nMax is typically decremented by 1, with *every* new call!

It looks like this is only a wrong implementation of the constraints, 
described in the WinAPI docs.


More information about the Lazarus mailing list