Is there a Win32 API call to determine which window and / or control is visible at certain coordinates and / or under the mouse?
You can use GetWindowFromPoint . It will return a window handle so you can use GetClassName to find out which control it has.
GetWindowFromPoint
GetClassName
here is an example: http://support.microsoft.com/kb/112649
Use the WindowFromPoint , ChildWindowFromPoint, or ChildWindowFromPointEx Win32 functions .