Hi I am writng an application in mfc which have to monitor the internet explorer and to get the x and y coordinates of the caret position. I already knows how to get IHTMLDocument2 from the HWND but was not able to figure out how to get the position of the caret inside the document. i understood that the IHTMLCaret cannot be retrieve because my application is in a different process. So what is the solution for this i will be very happey to hear any suggestion because i am stuck with this problem for almost two weeks now.