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

2019-01-25 Thread Luca Olivetti via lazarus
El 25/1/19 a les 10:21, Alexander Hofmann via lazarus ha escrit: Hi, I've been looking for something like this, too, some time ago, and I decided to go for a self-built solution, to be independent of the underlying widget-set. (I grayed-out all important widgets, which can be done automatically

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

2019-01-25 Thread Giuliano Colla via lazarus
Il 24/01/2019 20:52, Sven Barth via lazarus ha scritto: I take it those are resistive touch screens? For those calibration is sometimes necessary (especially older ones as you said). For capacitive touch panels (be it smartphone or tablet) I haven't found the need for that. Yes they are. In

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

2019-01-25 Thread Giuliano Colla via lazarus
Il 24/01/2019 21:42, Luca Olivetti via lazarus ha scritto: @Giuliano, in my case it just manages the UI, but I didn't decide the OS. That's the reason why, some decades ago, tired of being conditioned by technical decisions taken by non-technical people, me and two other guys with a similar

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

2019-01-25 Thread Alexander Hofmann via lazarus
Hi, I've been looking for something like this, too, some time ago, and I decided to go for a self-built solution, to be independent of the underlying widget-set. (I grayed-out all important widgets, which can be done automatically by walking, recursively, through the Controls property, and display

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

2019-01-24 Thread Luca Olivetti via lazarus
El 24/1/19 a les 14:34, Sven Barth via lazarus ha escrit: 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. If only

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

2019-01-24 Thread Sven Barth via lazarus
Am Do., 24. Jan. 2019, 18:31 hat Giuliano Colla via lazarus < lazarus@lists.lazarus-ide.org> geschrieben: > Il 24/01/2019 14:34, Sven Barth via lazarus ha scritto: > > No, Windows 10 hides the cursor if no input device (mouse, touchpad) > > besides a touchscreen is detected. Cause in that case a c

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

2019-01-24 Thread Giuliano Colla via lazarus
Il 24/01/2019 14:34, Sven Barth via lazarus ha scritto: 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. Just for

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

2019-01-24 Thread Sven Barth via lazarus
Am Do., 24. Jan. 2019, 13:52 hat Giuliano Colla via lazarus < lazarus@lists.lazarus-ide.org> geschrieben: > 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 hid

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

2019-01-24 Thread Giuliano Colla via lazarus
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

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

2019-01-24 Thread Luca Olivetti via lazarus
El 24/1/19 a les 10:23, Graeme Geldenhuys via lazarus ha escrit: On 23/01/2019 14:49, Luca Olivetti via lazarus wrote: is there an alternative way to show that the application is busy? A small borderless dialog with a short message? Think in the lines of a splashscreen-like dialog. I use this

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

2019-01-24 Thread Graeme Geldenhuys via lazarus
On 23/01/2019 14:49, Luca Olivetti via lazarus wrote: > is there an alternative way to show that the application is busy? A small borderless dialog with a short message? Think in the lines of a splashscreen-like dialog. I use this often in my applications to convey updates to long running tasks.

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

2019-01-23 Thread Luca Olivetti via lazarus
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. I found that there isn't a setting to force the mouse cursor on (https://answers.microsoft.com/en-us/windows/fo