Page 1 of 1
Hide Mouse
Posted: Sun Dec 21, 2025 2:04 am
by SPH
Hi
On Windows 11, I have an OpenScreen program with the mouse cursor hidden.
Or at least, partially hidden. I can't hide it completely.
The cursor itself is invisible, but the blue reflection ring is still visible on the screen.
How do I get rid of it?
Re: Hide Mouse
Posted: Sun Dec 21, 2025 2:35 am
by miso
Hi SPH!
I think there are unprocessed OS events. Try to process all in the beginning of every loop, and it will disappear.
(I assume its a windowed screen)
Re: Hide Mouse
Posted: Sun Dec 21, 2025 3:20 am
by SPH
I only use OpenScreen... So, apparently, I can't use your trick.
On one Windows 11 PC, the mouse cursor is completely invisible, but not on the other Windows 11 PC (the mouse cursor is partially visible).
But, thx you for your help

Re: Hide Mouse
Posted: Sun Dec 21, 2025 5:02 am
by RASHAD
Try
Code: Select all
CreateImage(0, 32,32)
CreateImage(1, 32,32)
StartDrawing(ImageOutput(0))
Box(0,0,32,32,#White)
StopDrawing()
icoInf.ICONINFO
icoInf\fIcon = #False
icoInf\hbmMask = ImageID(0)
icoInf\hbmColor = ImageID(1)
curHnd = CreateIconIndirect_(icoInf)
;
For x = 32512 To 32650 ;Hide System cursor
SetSystemCursor_(CopyIcon_(curHnd), x)
Next
Delay(5000)
SystemParametersInfo_(#SPI_SETCURSORS,0,0,0) ;Show System Cursor