Good ehh... morning? It's 4:30am here, lol...

But, I've got a few questions. First and foremost, is how to edit a text/string like it's done in standard Windows programs. I've been using inkey(string);, however it is more akin to editing text in DOS or on a really old computer. You can't highlight or select text with the mouse, cut, copy, or even paste. I'm sure I could write my own functions to do things like copy and paste, but I don't know how to select text/characters with the mouse to begin with.

I've also got another question, and I guess I'll have to explain what the goal is to ask it. I'm doing a side project to make a decent messenger/chat application. I want to have the text editing functionality like mentioned above, with a few other things. I want it so that when a user sends a message to the server, it is displayed on the screen after the user's name (I can do this part). I want to set a maximum of 2, maybe 3 lines of text per message. After a certain number of characters, it needs to skip to the next line (probably 100-150 characters per line, and max of 200-300 per message). Furthermore, as messages come in, they are displayed in a descending order, one after another. There should be a maximum of visible messages in the window, maybe 50 or so. After that limit is reached, the oldest message is erased to make room for newer ones.

Yes, I know that's a lot of info all at once, heheh. I can handle all of the basic stuff... making windows, buttons, whatever. But I scoured the manual for information on how to do some of these things and came up with nothing. inkey() was about the only thing I can see, and it's not the best choice for what I need to do. It's decent for entering the IP address and username, but I don't feel it will cut it for the actual message box.

Any help is greatly appreciated. I just can't find this stuff in the manual....

Last edited by Jaeger; 06/06/09 09:48.