HelpSkype API help

Posts 13 of 3 · Page 1 of 1
Skype API help
Code:
if (status == TChatMessageStatus.cmsReceived)
                ChatTextBoxList[GetTabPageIndexFromHandle(msg.Sender.Handle)].Text += msg.Sender.FullName + ": " + msg.Body + "\r\n";


if (status == TChatMessageStatus.cmsSending)
                ChatTextBoxList[GetTabPageIndexFromHandle(msg.Sender.Handle)].Text += msg.Sender.FullName + ": " + msg.Body + "\r\n";
The green is working fine, but the blue isnt. The main problem, i dont know in Skype C# API wich is the "Target" in the chat messages...

msg.Sender.Handle is being there for syntax fix only...

I tried: msg.users[0].Handle but i got error...


Is anybody know how can i get the "Target" handle at the chat messages (chat message handler)
If you send a message, skype will always display your own username. As a workaround try to determine the currently logged on username or just output "You" for the moment.
Quote Originally Posted by Zacherl View Post
If you send a message, skype will always display your own username. As a workaround try to determine the currently logged on username or just output "You" for the moment.
I want to get the name of the person who i send the message...
But i already solved with another method...
Posts 13 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?