How to freeze the desktop( icons and windows) on button click

Posted by Preetimahawar under IIS on 5/7/2014 | Points: 10 | Views : 755 | Status : [Member] | Replies : 2
Is there any code to freeze the desktop ( all desktop icons and the open windows) on click of a button
any dll or js code or c sharp...is there any way to do this through code..

freeze such that no icons are click-able on the desktop and if any windows are opened then those windows also get disabled and a pop up is displayed with a customized message and an OK button.
this function is needed on the click of a button which is on a aspx page

thanks




Responses

Posted by: Chandradev819 on: 5/7/2014 [Member] Starter | Points: 25

Up
0
Down
Hi

are you looking like this ?

http://codehill.com/2009/01/lock-sleep-or-hibernate-windows-using-c/

if it will not work then let me know.





Thanks and Regards
Chandradev
My Blog

Preetimahawar, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Preetimahawar on: 5/7/2014 [Member] Starter | Points: 25

Up
0
Down
Hi and thanks for ur response but I dont want to lock the windows but just to freeze the icons on the desktop.
freeze such that no icons are click-able on the desktop and if any windows are opened then those windows also get disabled and a pop up is displayed with a customized message and an OK button.
this function is needed on the click of a button which is on a aspx page

Preetimahawar, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response