What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » WLM Plus! General » OnEvent_ChatWndReceiveMessage Change

OnEvent_ChatWndReceiveMessage Change
Author: Message:
bigbob85
Full Member
***

Avatar
Is Good, Is Bob...

Posts: 128
Reputation: 4
37 / Male / Flag
Joined: Jul 2003
O.P. OnEvent_ChatWndReceiveMessage Change
I was wondering if this was possible (although if it were it'd be done by now) to change what OnEvent_ChatWndReceiveMessage gives in its atributes.

code:
[string] OnEvent_ChatWndReceiveMessage(
    [object] ChatWnd,
    [string] Origin,
    [string] Message,
    [enum] MessageKind
);

If next to Origin it could also send Email string, or a Contact object then we dont need to worry about all the StuffPlug and MessengerDiscovery clashes (chat only name).
Im fairly sure messenger protocol sends email so in theory this is possible right?

EDIT
quote:
The value returned by this event handler is ignored if MessageKind specifies a wink or a voice clip.

Because Messenger Plus! analyses messages received only when they reach the chat window, it is not possible to determine exactly from which contact the message came from. However, several methods can be used to guess if the message was actually sent by the current user. For example, to determine whether or not the personalized status messages should be sent when a message is received, Messenger Plus! compares the time of the last ChatWndSendMessage event with the current time. If it is less than 1 second, the message is considered to come from the current user and the previously recorded time is reset. Even if this method of analysis can seem too simplistic, it works in almost every scenario as it is extremely rare to receive a message sent by a contact between the time the "Send" button was pressed and the time the message of the current user was added to the window (as Messenger does not wait to receive a reply from the server before adding the message to the history control).
Sooo.. maybe not..

This post was edited on 12-18-2007 at 02:19 AM by bigbob85.
[Image: signature-user=16&back=2&clr=0,0,0&size=100.png]
12-18-2007 02:02 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
OnEvent_ChatWndReceiveMessage Change - by bigbob85 on 12-18-2007 at 02:02 AM
RE: OnEvent_ChatWndReceiveMessage Change - by Spunky on 12-18-2007 at 02:20 AM
RE: OnEvent_ChatWndReceiveMessage Change - by bigbob85 on 12-18-2007 at 02:25 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On