© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
12 replies
Bunda

Launch WinForms app when user inactive

I'm trying to create a WinForms app that will show a banner after x minutes and lock the screen. Now I currently do have a Form with an overlay that gradually fades the screen and will lock it. However I'm not sure how to launch it after x minutes of user inactivity.

Does Windows have any API's that you can listen to to make it easier? If anyone can guide me in the right direction that would be great.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ Winforms app
C#CC# / help
9mo ago
✅ WinForms App
C#CC# / help
2y ago
Package Winforms app into an installer
C#CC# / help
3y ago
WinForms
C#CC# / help
2y ago