I have a winform that is displayed at the top of my application. What I would like to is have the form set to 20% opacity if it has been inactive for a certain amount of tim
Here is a great example using the GetLastInputInfo from the user32.dll
GetLastInputInfo
user32.dll