can anyone else confirm this?
I’m working with a Rasperry PI which has a touch screen. I don’t want the cursor to show in my app.
IS there a workaround?
No HideCursor API available from Rasperry PI OS ?
It’s there. It just keeps becoming visible again.
Hi Chris, I struggled with this and finally found a solution. I have a pi-based product that I NEVER want to see a mouse or cursor on. Additionally I wanted my own splash screen, I wanted to suppress any “raspberry” icons, any of the boot-up text screens… essentially I wanted to control everything that displayed at startup and then thru to the end of the user experience. I did get it all working 100%.
Disclaimer: I carefully documented my build, and here is the last entry I have in my build sequence. It may take a few prior steps before this works (installing some earlier software installed), but feel free to contact me directly and I can give you all of my build sequence.
Try this…
// Edited 'autostart' on pi with this line...
#@point-rpi //rem'd out @point-rpi
// Put the following block in Window.Activate() to 'force' cursor to disappear:
Dim objShell As Shell
Self.MouseCursor = System.Cursors.InvisibleCursor
objShell = New Shell
objShell.Execute("point-rpi")
objShell = Nil
// 'autostart' now looks like something this (which is why I said you may have to install other software)
@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@xscreensaver -no-splash
#@point-rpi
I willi test. Thank you!