Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 667
  • Last Modified:

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

How to disable Print Screen feature in IE7 on Vista, where programmatic clipboard acess is not readily available and needs user intervention.
0
RajeevRanjanLall
Asked:
RajeevRanjanLall
1 Solution
 
ValleyENTCommented:
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.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now