I'm trying to do chat app, but I'm having problem to find any function that will tell my program that user is typing ANYTHING, how I wanted to do it:
1. make thread to wait for ANY user input
2. if user types something, thread will show "<Name> is typing."
3. when user stops typing it will hide message
I know how to do everything except getting input, any suggestions?
If it's a GUI, then I would put something in your event loops: WndProc (Win32) or in your slots (Qt) that whenever a pushbutton is pressed, it activates that message for the next 5 seconds.