Search
Setup for Free
C
C#
Capture key presses
Original message was deleted
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,237
Members
View on Discord
Similar Threads
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
E
Ezlanding
•
9/5/22, 2:55 AM
I know I have to dllImport user32 but I cant seem to get it to work
Original message was deleted
E
Ezlanding
•
9/5/22, 2:58 AM
well I don
't really have much of anything yet
, but I
've been doing small tests using code from here
https://stackoverflow.com/questions/15413172/capture-a-keyboard-keypress-in-the-background
but I cant get things to work
Edit
:
the link above is for windows forms
, so it probably wont work anyway
E
Ezlanding
•
9/5/22, 2:58 AM
(btw this post is related to my last post here
help
.NET Program that runs in the background [Answered]
)
E
Ezlanding
•
9/5/22, 3:11 AM
@implicit electron
Similar Threads
❔ Form not detecting key presses
C
C# / help
3y ago
simulate key presses on a specific application
C
C# / help
3y ago
Sending key presses to other applications without Windows Forms
C
C# / help
2y ago
✅ Windows Audio Capture
C
C# / help
17mo ago