I need my application to get noticed when another process is trying to do any screen capture. Is that doable ?
A:
You can use RegisterHotKey API to get intercept print screen key presses. Another approach would be to use low level keyboard hooks. Few examples:
http://answers.google.com/answers/threadview/id/133059.html
http://msdn.microsoft.com/hi-in/magazine/cc301431%28en-us%29.aspx
http://stackoverflow.com/questions/1191479/how-do-i-capture-the-print-screen-key
swatkat
2009-09-04 17:44:08
You are making the assumption that the only way to capture the screen is with the "Print Screen" key. OneNote uses Windows+S to initiate a screen capture. FastStone Capture allows users to change the screen capture hot keys, and so on.
AMissico
2009-09-04 18:03:55
Oops!! I missed that custom keys can be defined for screen capture!! Thanks for pointing it out.
swatkat
2009-09-04 18:08:38