Hi,
Can any body know about the disable the print screen function key of key board.
My requirement is this that on pressing "Print Scrn" of key board does not copy the contents
of current window.


Thanks in advance

Recommended Answers

All 3 Replies

Hi,

You can use a simple javascript method to clear the clipboard content at a regular interval.
Hope this will help ..
function fnBlockPrintScreen()
{
setInterval("window.clipboardData.setData('text','')",20);
}

You can use software like locklizard safeguard to prevent people from using print screen and most screen capture software. check out http://www.locklizard.com

Hi, You may use low level key hooks to prevent this. but it is somewhat tedious.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.