What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » WLM Plus! Bug Reports » Scripting: OnEvent_ChatWndSendMessage not fired correctly

Scripting: OnEvent_ChatWndSendMessage not fired correctly
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: RE: Scripting: OnEvent_ChatWndSendMessage not fired correctly
quote:
Originally posted by Choli
quote:
Originally posted by CookieRevised
that Plus! does not insert the new line properly.
it is not Plus who inserts the new line, it's Messenger. And Messenger insserts it where the cursor is at that moment. If Plus deletes the old text, calls OnEvent_ChatWndSendMessage and puts the returned string in the edit area again, then the cursor is placed at the begining, where messenger inserts the new line :P
Are you sure Plus! clears the text area before OnEvent_ChatWndSendMessage is called? That seems strange... since Plus! can't know if the text is going to be parsed or not.

If text is not going to be parsed, Plus! will intercept the push on the send button and fires ChatWndSendMessage event and a new line is added after the existing text. Or ... a new line is added after the existing text and Plus! fires a ChatWndSendMessage event. Either way, line is added after the text.

If text is going to be parsed, Plus! will intercept the push on the send button and fires ChatWndSendMessage event, text is replaced (and cursor should be at the end in this case) and a new line is added after the existing text. Or ... a new line is added after the existing text and Plus! fires a ChatWndSendMessage event and the existing text is replaced (doubt this is how it works). Either way, line is added after the text.

Where did I screw up? (note: didn't tested anything of this... I'm lazy atm :p)

quote:
Originally posted by Choli
(at the end we're talking about the same thing)
very true... but I wanna know the -why- :D

This post was edited on 01-08-2007 at 11:50 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
01-08-2007 11:48 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Scripting: OnEvent_ChatWndSendMessage not fired correctly - by Choli on 01-07-2007 at 02:43 AM
RE: Scripting: OnEvent_ChatWndSendMessage not fired correctly - by deAd on 01-07-2007 at 03:13 AM
RE: RE: Scripting: OnEvent_ChatWndSendMessage not fired correctly - by CookieRevised on 01-07-2007 at 04:34 AM
RE: Scripting: OnEvent_ChatWndSendMessage not fired correctly - by Matti on 01-07-2007 at 10:03 AM
RE: Scripting: OnEvent_ChatWndSendMessage not fired correctly - by Choli on 01-07-2007 at 12:57 PM
RE: RE: Scripting: OnEvent_ChatWndSendMessage not fired correctly - by CookieRevised on 01-07-2007 at 05:00 PM
RE: Scripting: OnEvent_ChatWndSendMessage not fired correctly - by Choli on 01-07-2007 at 06:16 PM
RE: RE: Scripting: OnEvent_ChatWndSendMessage not fired correctly - by CookieRevised on 01-08-2007 at 11:48 PM
RE: Scripting: OnEvent_ChatWndSendMessage not fired correctly - by Choli on 01-10-2007 at 08:26 PM


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