[Lazarus] TLMMouseEvent now lacks "state"

Hans-Peter Diettrich DrDiettrich1 at aol.com
Thu Oct 27 18:27:09 CEST 2011


Felipe Monteiro de Carvalho schrieb:
> 2011/10/27 zeljko <zeljko at holobit.net>:
>> Now I don't understand. That change was maded for delphi compatibility or
>> not ? VTV had State in that message and checked it. Ok, it checked for shift
>> or ctrl, so easy to exchange with Button.
> 
> TLMMouseEvent does not exist in Delphi AFAIK

I also couldn't find this one.

The WM_MOUSEWHEEL has the buttons encoded in the low word of wParam, so 
that "Buttons" is a descriptive Name, different from "State" or "Shift" 
in other messages with both buttons and modifier keys encoded in wParam.

DoDi




More information about the Lazarus mailing list