- Home
·
- Encryption
·
- This snippets lets you lock the desktop from access in just under 15 lines!
This snippets lets you lock the desktop from access in just under 15 lines!
This snippets lets you lock the desktop from access in just under 15 lines!
API Declarations
Private Declare Function EnableWindow Lib "user32" (ByVal hwnd As Long, ByVal fEnable As Long) As Long
Rate This snippets lets you lock the desktop from access in just under 15 lines!
(2(2 Vote))
Dim HDesk As Long
HDesk = FindWindow("Progman", vbNullString)
If HDesk <> 0 Then
EnableWindow HDesk, En
End If
End Function
This snippets lets you lock the desktop from access in just under 15 lines! Comments
No comments yet — be the first to post one!
Post a Comment