This is a very small application that demonstrates the use of fullscreen
dialog based applications. When the application is executed it goes and sits
inside the systray with a key as a tray icon.
Using the application
- To lock the screen, the user has to press a key combination of
Ctrl+Alt+Minus sign on the numpad.
- To unlock the screen user is asked to enter a password.
- During lock mode, mouse cursor and caret are hidden as it happens in a
normal booting screen, also Alt+Tab, Ctrl+Alt+Del keys are disabled.
But the user still can press Ctrl+Esc to activate the Start menu, In order to
disable the Taskbar/StartButton,
FindWindowEx API has been used and
after taking the handle successfully the Taskbar is disabled, so that the user
is not able to clcik on the TaskBar also. Currently the password has been
hardcoded inside the application as "vkpassword". But developers can easily
modify the application to store the password in registry or some encrypted file
in the system. Use of Hotkeys have been implemented. To lock the screen user
needs to press Ctrl+Alt+Minus sign on the numpad. A special thanks to Chris
Maunder for his
CSystemTray icon class used in the application.
How to get it installed?
- Unzip the demo exe file
- Double click on the exe file
- The application goes and sits inside the SystemTray (thanx
Press Ctrl+Alt+Minus sign on Numpad. The system is locked now, to unlock
enter password as "vkpassword" of course without the double quotes.
The application makes some changes in the registry, as to run during the
computer start up, disabling the task manager using a registry hack. Hope you
all will like the same and also don't forget to send me ur comments, suggestions
to make it better. Thanks.