Remove the password-chars (stars, asc 2A hex) from the input boxes.
Remove the password-chars (stars, asc 2A hex) from the input boxes.
API Declarations
Public Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long
Public Declare Function IsWindow Lib "user32.dll" (ByVal hWnd As Long) As Long
Public Const EM_SETPASSWORDCHAR = &HCC
Public Const EM_GETPASSWORDCHAR = &HD2
Dim Tmp As Long
Rate Remove the password-chars (stars, asc 2A hex) from the input boxes.
(1(1 Vote))
Tmp = 0
For i = 1 To 30000
If IsWindow(i) Then
Tmp = Tmp + 1
SendMessage i, EM_SETPASSWORDCHAR, 0&, ByVal 0&
UpdateWindow i
End If
DoEvents
Next i
MsgBox "Done, PWChars on " + Format(Tmp) + " windows reset."
End Sub
Remove the password-chars (stars, asc 2A hex) from the input boxes. Comments
No comments yet — be the first to post one!
Post a Comment