We help IT Professionals succeed at work.

How to disable Print Screen feature in IE7 on Vista, where programmatic clipboard acess is not readily available and needs user intervention.

Medium Priority
703 Views
Last Modified: 2013-12-08
How to disable Print Screen feature in IE7 on Vista, where programmatic clipboard acess is not readily available and needs user intervention.
Comment
Watch Question

Windows implements Print Screen using a registered hotkey. Windows uses the predefined hotkeys IDHOT_SNAPDESKTOP and IDHOT_SNAPWINDOW to handle Print Screen. These correspond to Print Screen, which captures the entire screen, and Alt+Print Screen, which captures only the active window. To disable these functions all you have to do is register the hotkeys, which causes Windows to send your app a WM_HOTKEY message when the user presses either hotkey. Your implementation can ignore the message to bypass the default screen-capture behavior. A good place to do it is in your mainframe class.

This will be pretty difficult to do, it was quite the hot topic at one time. If you are worried about someoen SNAPWINDOW'ing senstive data on a web page, then the web page can actually be altered to prevent that using java script, otherwise, you will have to either use scripting or you must know the registry very well.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.