<div dir="auto"><div><div class="gmail_quote"><div dir="ltr">Am Do., 24. Jan. 2019, 13:52 hat Giuliano Colla via lazarus <<a href="mailto:lazarus@lists.lazarus-ide.org">lazarus@lists.lazarus-ide.org</a>> geschrieben:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Il 23/01/2019 15:49, Luca Olivetti via lazarus ha scritto:<br>
<br>
> This isn't strictly a lazarus issue, but my google fu is failing me.<br>
> It turns out that windows 10 with a touch screen hides the mouse <br>
> cursor, so Screen.Cursor=crHourGlass does nothing. <br>
<br>
Did you try taking advantage of such Windows API's as ClipCursor() and <br>
SetCursorPos()?<br>
Maybe the cursor is hidden just because of the way the clipping area is <br>
defined in presence of a touch screen, or because the cursor position is <br>
set outside the screen coordinates.<br>
Just an idea, I never tried myself.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">No, Windows 10 hides the cursor if no input device (mouse, touchpad) besides a touchscreen is detected. Cause in that case a cursor "makes no sense". Note: this does not mean I agree with that, only that Microsoft thinks that. </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>