Interception of application activation _attempt_ at low-level (no message hooking)
-
Hello, I'll very appreciate your help in somewhat tricky area of Windows development. I have a need to get system-wide (or at least session- or desktop-wide) notification about _attempt_ of activating background application. Just after user click mouse button or Alt-Tab to background application. I can't use system-wide message hooks because it is heavy artillery for my needs. Also hooks doesn't work for suspended threads - messages just don't arrived and are buffered somewhere in the Windows internals. So the question sounds like: is there any method to get (kernel?.. shell?) notification just after user Alt-Tabs to, or mouse-clicks in the App window or on the Taskbar button and before system consider any message to be sent to the App? It is sufficient for me to know Process ID or HWND of the App window. Any thoughts will be very appreciated. Even if it needs to write a driver or service. Thank you for your time. Kind regards, Volodymyr
-
Hello, I'll very appreciate your help in somewhat tricky area of Windows development. I have a need to get system-wide (or at least session- or desktop-wide) notification about _attempt_ of activating background application. Just after user click mouse button or Alt-Tab to background application. I can't use system-wide message hooks because it is heavy artillery for my needs. Also hooks doesn't work for suspended threads - messages just don't arrived and are buffered somewhere in the Windows internals. So the question sounds like: is there any method to get (kernel?.. shell?) notification just after user Alt-Tabs to, or mouse-clicks in the App window or on the Taskbar button and before system consider any message to be sent to the App? It is sufficient for me to know Process ID or HWND of the App window. Any thoughts will be very appreciated. Even if it needs to write a driver or service. Thank you for your time. Kind regards, Volodymyr
No one has knowledge so far?