[Lazarus] OnMouseWheel[Down/Up] support in TControl (patch included)
Mattias Gaertner
nc-gaertnma at netcologne.de
Wed Jun 11 08:41:35 CEST 2008
On Tue, 10 Jun 2008 18:27:45 -0300
Luiz Americo Pereira Camara <luizmed at oi.com.br> wrote:
> Mattias Gaertner wrote:
> >> As can be seen on that report, it introduces a Delphi
> >> incompatibility.
> >>
> >
> > It's not a Delphi, but a winapi incompatibility.
> >
>
> No, it's a Delphi compatibility. I tested CM_MOUSEWHEEL, the
> equivalent message of LM_MOUSEWHEEL. Under Delphi XPos and YPos
> fields returns screen coordinates.
> Furthermore, OnMouseWheel MousePos also is at screen coordinates.
The VCL sends OnMouseWheel to the right child control, but it sends
screen coords? That would be very inconsistent.
Mattias
More information about the Lazarus
mailing list