You said the following: @msarchet I think the problem is that in the loop, when the mouse is on the control, control_MouseEnter (which hides the cursor) is called, but for a moment before that, the mouse just left another control that displays the cursor. In general, perhaps two events are fired simultaneously, so it seems that the cursor is always displayed. Just what I think
If you think this is a problem, do not do cursor.show to leave all the controls, you want it to show when you exit the panel. Set the .show cursor and cursor.hide in the panel, and all other controls will just get cursor.hide.
user1466918
source share