[lazarus] wrong WM_HSCROLL
Micha Nelissen
M.Nelissen at student.tue.nl
Fri Nov 21 02:14:49 EST 2003
Darek Mazur wrote:
> HI
> I've tested tScrollBar and I notice that HScroll is wrong
> in WIN32CALLBACK.INC musn't call in:
>
>
> Function WindowProc(Window: HWnd; Msg: UInt;
> WParam: WParam; LParam: LParam): LResult; stdcall;
>
>
> WM_HSCROLL:
> Begin
> PLMsg:=@LMScroll;
>
> Win32Def.ScrollWindow(Window,Position - NewPos,0,nil, at R);
> ^^^ in this cause I can't call CNHScroll
>
> this section should be done similary to WM_LBUTTONDOWN:
> (call LCL) and rest of code move to STDCTRLS.PP
Do you want to handle CN_HSCROLL? What is the purpose?
Micha.
More information about the Lazarus
mailing list