Windows Forms VB Lock Screen

Derrick Ng

Recruit
Is it possible to code a form to act as one of those warning/danger popups that does not allow the user to alt+tab to another window, desktop, or ignore the form. The form forces the user to press a button on the form in order to continue regular functions. I am able to kill explorer.exe, but i am still able to bring another window to front and ignore a lock form.

I remember in the good old days of windows 98, a critical error would popup and block the user from continuing using the computer until the error was fixed or the error message closed via pressing the ok button.
 
That was called a "system modal" window. I think they have removed that type of boxes and the modal message boxes are only modal to the owner and not system.
 
Back
Top