January 1, 2005

WinTask - GetWindowTextLength

'
' GetWindowTextLength
'
' Author: Joe Strazzere
'

' "user32" Alias "GetWindowTextLengthA" (ByVal hwnd As Long) As Long
'
hwnd=GetWindowHandle(focus$(),1)
ret = External("user32","GetWindowTextLengthA", hwnd)
msgbox(Str$(ret),,"GetWindowTextLength")