There is documentation on the Internet that shows that Windows changes the behavior of the NotifyIcon.BalloonTipShown command if the user is currently not working, and this is detected by checking keyboard and mouse events . I am currently working on an application that spends most of the time in the system tray, but from time to time several tooltips with balls pop up, and I would like the user not to miss any of them if they are currently away from the system . Since any balloon prompts currently displayed are destroyed if a new one is displayed, I want them to be displayed if the user is not working.
As such, is there a way to check if the user is currently running if the application is minimized to the system tray?
source
share