The code to get the text doesnt work.. i returns a zero value. The code I have so far is below, all the handles pull nonzerovalues. The SendMessage statements return 0.
VB Code:
hWndTmp = FindWindow("IMClass", "SymbolType") hWndChild = FindWindowEx(hWndTmp, 0, "YHTMLContainer", vbNullString) hWndIEServer = FindWindowEx(hWndChild, 0, "Internet Explorer_Server", vbNullString) Dim lLen As Long Dim IElen As Long Dim sText As String lLen = SendMessage(hWndIEServer, WM_GETTEXTLENGTH, 0, IElen) SendMessage(hWndIEServer, WM_GETTEXT, lLen + 1, sText)




Reply With Quote