PDA

Click to See Complete Forum and Search --> : draging and dropping outside


john tindell
Jan 15th, 2003, 12:49 PM
im trying to get information about a winodw, i want to drag a cursor/icon onto a window, and it display information about it, like spy++ using the windows hwnd. does any one know a place about this because i cant find NE thing on MSDN about this topic,

Cheers :p

amac
Jan 15th, 2003, 02:05 PM
Here ya go dude... enjoy.

Quoted from MSDN:

WindowFromPoint

The WindowFromPoint function retrieves a handle to the window that contains the specified point.


HWND WindowFromPoint(
POINT Point
);