Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Binding Keystrokes To Child Windows...
OK, I got REALLY bored alst night when my cable wen tout, so I started playing around with my help files and coding somethin I thought would be a joke. I learned TCP/IP in about an hour and now have a chat client that works, but has two minor problems (not networking related).
The first is this. The child window that you enter text in has focus. You type a message to your buddy and press enter. Windows just "dings" and sits there. It will send if you CLICK the send button, but how can I bind the enter key to the send button?
Next, the big edit control that is used to display the chat text starts at the top and goes down. How do I make the chat start at the bottom and go up like in a traditional chat client, such as PIRCH or mIRC?
Thanks for the info, and once I am sure this program works and leaves no back-doors I'll post it online for people to check out.