by PulseWave (25 Submissions)
Category: Miscellaneous
Compatability: Visual Basic 4.0 (32-bit)
Difficulty: Unknown Difficulty
Originally Published: Wed 24th February 1999
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Get handle of window that the mouse Cursor is over.
API Declarations
Declare Function GetCursorPos Lib "user32" (lpPoint As POINTAPI) As Long
K$ = GetCursorPos(p)
J$ = WindowFromPoint (p.x, p.y)