0

In a WPF app, we try to hide the mouse cursor by setting

<Window Cursor="None" ...>
    ...
</Window>

This works fine, for all controls within that window the cursor is not shown. However, while a long-running operation is in progress, the cursor re-appears combined with the typical Windows 7 progress wheel:

enter image description here

Does anybody know how we can get rid of that wait cursor? (A lot of similar questions have been asked, but it seems everyone tries to do it the other way round and show the wait cursor while we're trying to hide it...)

andreask
  • 4,248
  • 1
  • 20
  • 25

1 Answers1

0

Try using the OverrideCursor property which will override the cursor for the whole application.

James Lucas
  • 2,452
  • 10
  • 15
  • Unfortunately that doesn't help. Now, when clicking a button that performs a longer operation, the default cursor is shown shortly, followed by the wait cursor. – andreask Apr 28 '15 at 10:55