Zitat von
MSDN:
The WindowFromPoint function does not retrieve a
handle to a hidden or disabled window, even if the point is within the window. An application should use the ChildWindowFromPoint function for a nonrestrictive search.
Du solltest dir also mal die Funktion ChildWindowFromPoint ansehen...