C
C#2y ago
Christoph

✅ mouse events outside wpf

hello, i wanted to write a program in vs with wpf that detects mouse events(left click, right click, hold left click) also outside the wpf window. I already tried stuff with global hooks but nothing really worked (just copy pasted). Pls can smb write such a program/help me doing it :) Ty all for any reply
9 Replies
Jester
Jester2y ago
raw input, hooks.. uhh unless someone knows a library for it you need a bunch of pinvoke. i should add this to my samples on github
Christoph
ChristophOP2y ago
ty for ur help i found a solution
Jester
Jester2y ago
which?
Christoph
ChristophOP2y ago
i asked chat gpt wanna see it?
Jester
Jester2y ago
sure
Christoph
ChristophOP2y ago
Jester
Jester2y ago
OK enough i guess
Christoph
ChristophOP2y ago
Yep
Accord
Accord2y ago
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.
Want results from more Discord servers?
Add your server