C# method to return IHTMLElement at given screen coordinates within an IHTMLDocument
$30-75 USD
In Progress
Posted over 15 years ago
$30-75 USD
Paid on delivery
I have an instance of IHTMLDocument which points to an instance of IE running on my desktop (but obviously in another process).? ? Using this IHTMLDocument (or IHTMLDocument2, IHTMLDocument3, etc) I need a method which will return thh IHTMLElement at the given screen coordinate.? ? Note, "screen" coordinate is the tricky part - the elementFromPoint method only accepts client coordinates and i dont know how to do that conversion.?
So, the method signature would be:
public IHTMLElement GetElementFromScreenPoint(IHTMLDocument2 doc, int screenX, int screenY)
{
// you implement this part
}
## Deliverables
Please note:? I need this fast.? I assume the winning bidder has done this before and knows how to tackle it.? ? I assume it should take less than 1 hour for the bidder that has done it before.