Hide cursor on Player window

This forum is about all development around libVLC.
Ajgor
New Cone
New Cone
Posts: 5
Joined: 23 May 2024 15:27

Hide cursor on Player window

Postby Ajgor » 30 Jun 2024 14:30

Hello. I create a specific player in C# WPF using libVLCSharp, that has a controll pannel on one monitor, and player window on second monitor. I would like to complettely swotch off the cursor (mouse pointer), when it is dragging over the player window. Unfortunatelly, when I drag the cursor over the player, it is visible for about one - two seconds, and then dissapears. I would like to avoid it. I tried to swith off cursor over the main WPF window that containsthe player, and over embedded VLC player, but it does not work. Until there is no miedia file, the cursor is invisible, but while I load any video, the cursor appears.
How to achive this?

mfkl
Developer
Developer
Posts: 746
Joined: 13 Jun 2017 10:41

Re: Hide cursor on Player window

Postby mfkl » 02 Jul 2024 17:19

maybe try --mouse-hide-timeout=0
https://wiki.videolan.org/VLC_command-line_help/
https://mfkl.github.io


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 26 guests