C
C#14mo 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
Jester14mo 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
Christoph14mo ago
ty for ur help i found a solution
Jester
Jester14mo ago
which?
Christoph
Christoph14mo ago
i asked chat gpt wanna see it?
Jester
Jester14mo ago
sure
Christoph
Christoph14mo ago
Jester
Jester14mo ago
OK enough i guess
Christoph
Christoph14mo ago
Yep
Accord
Accord14mo 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.