Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Respond to events occuring in a foreign process?

Status
Not open for further replies.

Zoplax

Technical User
Oct 2, 2002
58
US
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! :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top