How do I get selected text from edit control?I have GUI with edit control, and I select some some text there. Now I want get that selected text, how could I do it? I have gui that is similar to window's notepad, but I cant find code for "copy" button only code I invent was send("^c") , but I need other than send.