Internal mouse handling in WPF app RRS feed

  • Question

  • Hello,

    I am building a game in wpf for a school project and I have noticed that the UI thread clogs up when I move the mouse over any window within the application (DispatcherTimer ticks are less frequent, which casues my game to lag and tear). 

    Is there a way to disable internal mouse handling, so I can have my own? Cursor is hidden by default so I do not really understand what is handled related to mouse movement in the background which could have such significant effect. Can you also shed some light on that as well. Thank you in advance!

    Friday, April 24, 2020 2:36 PM

All replies

  • WPF has a forum.


    Friday, April 24, 2020 3:16 PM
  • Based on the information you have provided here, there is nothing to disable. Do you know what third-party libraries you are using?

    Sam Hobbs

    Friday, April 24, 2020 8:54 PM