hi all!

I'm developing a chat app(in vb6) and I like to know how mIRC is coded in that part.. and if anyone can show me the excerpt of code that does that! I'll post the code that I have already:

Private Sub Chatbox_MouseUp(Button As Integer, Shift As Integer, x As Single, y As Single)
Clipboard.SetText Chatbox.SelText ' copy selected text on chatbox to clipboard
Editbox.SetFocus ' focus the other textbox
End Sub

but it doesn't work exactly as mIRC.. can anyone help me??

ps: sorry bad english