DragQueryPoint,WindowFromPoint and then you can query the window further.