Hi - sorry for asking again - is there a method to get strings from textboxes (not with editget but with sendmsg)?
I mean - I have a textbox and it should be somewhat like a HTMLeditor (i want to create a tool to write down mathematical symbols and formulars).
And it should display only the current line with it's special symbols and characters like wysiwyg - because the rest would be too slow.
So can I get a small string from the editbox instead of the 10 pages manual? I guess that'll be faster...

Anyhow - is there a database with all the messages that I can send to the elements with the codes and so on?

look at the GUI examples from the original PocketC documentation. I remember that it contains code to paste something from the clipboard to an edit box. So based on that I assume it will be easy to guess how to do the opposite (copying into clipboard). Before that, you'll have to highlight the section you want to copy. A (long) while ago there was a thread about that - setting the cursor positions; Guy Sprackland had some good advice there. If you choose start and end position different, then the range in between gets highlighted. You pass the positions in the two sendmsg parameters. I have been successfully playing around with this about a year ago or so, but I am unable to find my code examples again. Of I do I'll post it here.

look in windefs.h from the pcform kit, or winuser.h from the ceapi kit. winuser.h is much more complete, windefs.h contains only a subset of the definitions.

To actually read a section of the edit control you need to use CEAPI. Copy the selected region (send WM_COPY to the edit box) then read from the clipboard, or allocate a real memory buffer and read a line from the edit control with an EM_GETLINE message.

You could also kludge it by copying the bit you want then pasting it to an invisible edit control (WM_PASTE message), then use editget() to read from the invisible edit control.