Not really looking for code, just ideas on an approach.
Assuming I wanted to create something like a screen locking software, nothing complex. What would be the best way to go about that without exiting the desktop like Windows screenlock?
I was thinking about capturing the mouse, and locking it in place until a specified key combination was pressed. All other key presses are ignored.
I am not concerned with it being super secure, just more of an annoying deterrent for snoopy friends.
With this in mind, would locking the mouse in place and all keyboard input besides the specified input be enough? What about a step further and hiding all desktop icons and the task bar as well?
This is for Windows, so let's assume I can use the registry to my advantage. What would your approach to this be? I don't mind sharing some code once I take a crack at it.