Click to See Complete Forum and Search --> : The many ways to read that window's text.
Lord Orwell
Mar 3rd, 2001, 10:54 PM
I have a problem. I just started writing a program that is designed to help aol members by automatically placing people exibiting a certain behavior on the ignore list, so their text can no longer be seen. The problem is this: AOL seems to have disabled the WM_GETTEXT message for the chat window in their latest version. The WM_GETTEXTLENGTH still works as normal, but the WM_GETTEXT fails, as does the GetWindowText api call. Can anyone think of another method? I am able to highlight text and drag, or send to clipboard and paste with control codes. The problem with this is that the text is constantly scrolling up, and you have the selected-text reversal. If i was able to work around any of this, even to the point of someone having a .dll that worked, i would be most gracious :)
Lord Orwell
Mar 4th, 2001, 08:24 PM
heh i already managed to lock up my computer a couple of times using the em_getline :rolleyes:
I just got ahold of that particular .dll last night. I am hoping it is what i am looking for. All i need to do now is download the 110 meg vb5 patch :( (i'm on a dial-up), but i believe this might work. If anyone has a method of using the EM_GETLINE that will work, let me know. I dont even have any examples of it being used, so i probably didnt use it right. The memory function idea occurred to me as well, but i dont know how to find the area the text is in, let alone copy it without destroying the source (copymemory and movememory are both really the rtlmovememory function, which fills in the source with zeros)
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.