WM_MOUSEWHEEL
Aus der
MSDN:
Zitat:
The high-order word indicates the distance the wheel is rotated, expressed in multiples or divisions of WHEEL_DELTA, which is 120. A positive value indicates that the wheel was rotated forward, away from the user; a negative value indicates that the wheel was rotated backward, toward the user.
The low-order word indicates whether various virtual keys are down. This parameter can be one or more of the following values.
Delphi-Quellcode:
end;
procedure TMainHookTestForm.MouseSignal(msgId: Word; Data: Word); //Word oder DWord, bin mir grad nicht sicher...
begin
...
logText := logText + 'mouse X: ' + IntToStr(mousePos.X) + ' Y: ' + IntToStr(mousePos.Y) + '/state=' + IntToStr(High(msgId)) + '/data=' + IntToStr(Data)) + #13#10;
...
end;
Sollte eigentlich das gewünschte Ergebnis bringen... Ansonsten steht alles Relevant in dem
MSDN-Eintrag...