hello,
I can't figure out the "FlatSB_GetScrollInfo -> Got "tagScrollInfo" expected "SCROLLINFO" error.
Here is my code:
var
GfSi: TScrollInfo;
Code: Integer;
begin
GfSi.cbSize := SizeOf(TScrollInfo);
GfSi.fMask := SIF_TRACKPOS;
Code:= SB_HORZ;
if fKind = sbVertical then Code:= SB_VERT;
Result := Msg.Pos;
if FlatSB_GetScrollInfo(Owner.Handle, Code, GfSi) then
Result := GfSi.nTrackPos;
end;
Does it work with delphi?
Thank you for your answers.