开发者

Creating a UAC like environment

开发者 https://www.devze.com 2022-12-13 23:39 出处:网络
I want to create an environment like UAC. i.e. my dialog should appear to the user and unless he responds to it, i want to disable the background. User should not be able to carry out any activity.

I want to create an environment like UAC. i.e. my dialog should appear to the user and unless he responds to it, i want to disable the background. User should not be able to carry out any activity.

For this purpose I created a new desktop and display my dialog on the new desktop. But i want something like UAC where the background seems d开发者_开发知识库isabled (or transparent??).

Does anyone know how to go about it?

Thanks Rohit


"User should not be able to carry out any activity".

Does this include locking the desktop, logging off, shutting down, rebooting, etc. Does it include preventing another user from trying to log in?

This sort of behaviour generally requires altering the session management for windows - it's the same sort of behaviour that dongle/token based systems use.

This MSDN Article might be worth a read to see if it's more along the lines of what you want. http://msdn.microsoft.com/en-us/magazine/cc163489.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消