RE: hmm a problem...
The ChatWndReceiveMessage event is triggered when any message appears in the chat window. This includes messages that you yourself send. If you are trying to get the popup to appear on your contact's side, then you need to filter out messages from you. You can do this by either checking the Origin against your nickname, or by enumerating the contacts in the chat. Unfortunately, neither method is 100% accurate, because Plus! only receives the nickname of the sender, not the email address or UID.
If you want the popup to only show on your side, change the event to ChatWndSendMessage.
I hope this helps
Robert
|