I'm creating an app which will monitor a chat program's main chat window (a RichEdit control).
I've successfully coded to grab the handle to the RichEdit control, and do stuff like grab the last line of text (using SendMessage along with EM_GETLINE, for example).
However, I'm stumped on how to fire off an event to my app when new text enters the chat window. For example, if someone says "hi", I want my app to be able to react and grab the text.
Any help and/or examples would be greatly appreciated!
I've successfully coded to grab the handle to the RichEdit control, and do stuff like grab the last line of text (using SendMessage along with EM_GETLINE, for example).
However, I'm stumped on how to fire off an event to my app when new text enters the chat window. For example, if someone says "hi", I want my app to be able to react and grab the text.
Any help and/or examples would be greatly appreciated!