Click here to Skip to main content
15,911,711 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello.

Currently I'm doing a security system. In my system, the screen will lock for security purpose. During that time, there's an application still running, for example Microsoft Word. After the user unlock it, the Micosoft Word will repeatedly typing a char 'm'. My question is, why is it happened? Is there any solution to solve the problem? I really need an opinion for this.

Thanks in advance.
Posted
Updated 24-May-12 22:33pm
v2
Comments
OriginalGriff 25-May-12 3:31am    
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind.
Perhaps the code fragments you are using to lock and unlock the screen would help?
Use the "Improve question" widget to edit your question and provide better information.

1 solution

Maybe your application that shows the 'lock screen' is an application with 'Always on top' set to true. However, this does not mean that the application always has the focus. If a user for example ALT+TAB's a different application wille receive the focus and typing will result in command to that specific application. You need to catch the windows event which causes the application to lose the focus and cancel that event so your lock screen always remains focussed until the user closes the lock screen.

Eduard
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900