I'm developing an app to run on RPi, so it's a Linux/Desktop app. I'm using the following in the Activate event of each Window in the app:
...and it works to 'hide' the MouseCursor, but only when the mouse position is moved slightly. The app is a touch-screen piece of instrumentation, and I'd like to keep the interface clean and get rid of the mouse all together. For whatever reason the "arrow" cursor appears onscreen when the apps finished showing the Window, and the moment you move the mouse it then properly hides, and stays invisible for the remainder of the time, until you change screens (do a Show of a new Window in the app).
Is there a way for me to call a function to 'move' the Cursor off-screen? My assumption is that if I both move it, and hide it, that this will assure the desired behavior.
Thanks for your feedback!