January 1, 2005

WinTask - SetWindowText

'
' SetWindowText
'
' Author: Joe Strazzere
'
pause 3 seconds

b = External("user32","GetForegroundWindow")
External("user32","SetWindowTextA",b,"JOE")

pause 3 seconds
msgbox(str$(b))