January 1, 2005

WinTask - GetDesktopWindow

'
' GetDesktopWindow
'
' Author: Joe Strazzere
'

' "user32" Alias "GetDesktopWindow" () As Long
'
a = External("user32","GetDesktopWindow")
msgbox("The handle of the Windows Desktop window is : "+Str$(a),,"GetDesktopWindow")
msgbox("The 'name' of the Windows Desktop window is : "+GetWindowName$(a),,"GetDesktopWindow")