[Lazarus] how to show hourglass on windows 10 with touch screen?

Giuliano Colla giuliano.colla at fastwebnet.it
Thu Jan 24 13:52:47 CET 2019


Il 23/01/2019 15:49, Luca Olivetti via lazarus ha scritto:

> This isn't strictly a lazarus issue, but my google fu is failing me.
> It turns out that windows 10 with a touch screen hides the mouse 
> cursor, so Screen.Cursor=crHourGlass does nothing. 

Did you try taking advantage of such Windows API's as ClipCursor() and 
SetCursorPos()?
Maybe the cursor is hidden just because of the way the clipping area is 
defined in presence of a touch screen, or because the cursor position is 
set outside the screen coordinates.
Just an idea, I never tried myself.

Giuliano

-- 
Do not do to others as you would have them do to you.They might have different tastes.



More information about the lazarus mailing list