Anyone know how to pull text out of this kind of control? It is an Internet Explorer_Server class control inside of a messenger window, namely Yahoo. The chat room text. I want to pull this data out and analyze it. I cant seem to even pull the handle out through code (but i can see it through Spy++). The parent is YHTMLContainer class, and the YHTMLContainer is the child to the IMClass class.

The following code executes correctly:
VB Code:
  1. hWndTmp = FindWindow("IMClass", "*Replaced with WindowTitle*")
  2. hWndChild = FindWindowEx(hWndTmp, 0, "YHTMLContainer", vbNullString)

Kinda confused next.. The Internet Explorer_Server is the child of a child, per se.. the child of YHTMLContainer.... how would I get the handle.. i tried doing a FindWindow on just the class Internet Explorer_Server but kept returning nothing. Also, doing a FindWindowEx on Internet Explorer_Server also returned nothing.

All this and I still have to figure out how to get the text in the control to my application...