[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]

/prog/ - Programming

Programming board

Catalog

See 8chan's new software in development (discuss) (help out)
Infinity Next Beta period has started, click here for info or go directly to beta.8ch.net
Name
Email
Subject
Comment *
File
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Embed
(replaces files and can be used instead)
Options
Password (For file and post deletion.)

Allowed file types:jpg, jpeg, gif, png, webm, mp4, pdf
Max filesize is 8 MB.
Max image dimensions are 10000 x 10000.
You may upload 1 per post.


File: 1448244566167.jpg (27.33 KB, 250x255, 50:51, 1444709405797.jpg)

191ad7 No.3621

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.



[Return][Go to top][Catalog][Post a Reply]
Delete Post [ ]
[]
[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]