I made an application to detect the state of the caps lock in C #, but found a problem, when the application loses focus, the events can no longer be triggered causing the notifications to no longer be displayed by the application. I took a brief look at the internet and saw that using windows DLLs it is possible to do this. Anyone have any suggestions?