❔ how do i make a button that changes the current windows mouse cursor? (not only in winform)
i have made this but it only changes the cursor for like 0.1 second
11 Replies
the cursor changes back when you get out of the form?
or what is the problem
when i click button, the cursor changes to the other cursor which i uploaded to vs and changes back to the before cursor
here i recorded a bit
@Binto86
i see
hmm thats weird, the code looks ok
is there any other code in the app or not?
nope
only this one
can it be somethin with settings?
possibly
tbh i dont know
maybe try
Cursor.Current = new Cursor(...)
same thing
;d
than idk
sory
Changing the cursor "outside of" your application is likely to be some system/windows API call and it might not have an API directly in .NET
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.