Jump to content

Recommended Posts

Posted

Hi

 

Please can someone help. I have a few kids at the moment moving the log on window of the computer to the edge of the screen so that staff and students cannot see the window. Does anyone have a way to stop the kids moving the log in window around the screen

 

Thanks for all your help.

 

Richard

Posted

I'd guess you could have some kind of process running at boot time (probably need to be a service) which runs (say) every 5 seconds and moves the window back to the right place.

 

I don't know the name of the process that puts the logon box on the screen but assuming you can find it then the logic would be something like:

 

get resolution of screen

get handle for window of logon box

get size of window and work out x,y for where it needs to be to be centred

send message to that window saying "move to position x,y"

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...