<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 27.07.2016 14:36, Vojtěch Čihák
wrote:<br>
</div>
<blockquote cite="mid:20160727143611.67E34ADA@atlas.cz" type="cite">
<p style="padding:0 0 0 0; margin:0 0 0 0;">Hi,</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">IMO it is correct.
OnMouseWheelxxx are events for rolling the mouse wheel,
therefore the ssMiddle cannot be in Shift.</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">If you need to detect
if Middle button is pressed, use OnMouseDown/OnMouseUp and test
"if Mouse=mbMiddle then ..."</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">Also, ssMiddle appears
in Shift in <span style="font-size: 10pt;">OnMouseDown/OnMouseUp.</span></p>
</blockquote>
<br>
You are not correct. You can scroll the mouse wheel if it is
released or pressed. So for me a valid feature request for the
distinction. The OnMouseMove event gets valid Shift states as well.<br>
<br>
Btw. please use a mail client that supports "In-Reply-To" and
"References" headers. Your answers are registered always as a new
thread. See the recent discussion with Denis Kozlov on fpc-devel
list, thread(s) "NowUTC in FPC".<br>
<br>
Ondrej<br>
</body>
</html>