What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [?] SendMessage Problem

[?] SendMessage Problem
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: [?] SendMessage Problem
SpunkyLoveMuff,

provide all the code you use in cases like this. Most likely this is a bug in your coding, not in Plus!.

Because:
quote:
Originally posted by SpunkyLoveMuff
I'm passing the ChatWnd and Message params from the OnEvent_ChatWndSendMessage event to my own custom function. The reason for this is because it uses an xml request and if I just returned the values, it returns to late and the message had already sent.
Indicates that you don't have coded this properly since a function will not return automatically on its own before every statement has been executed. Same goes for Plus! events which are nothing more than functions containing statements.

aka: you can simply put your xml request into the event too, it will not make any difference; the event will not return until you return something with code. And thus the actual message will not change or be shown until you return from the event (logically, because otherwise Plus! doesn't have clue what to do, changing the message, discarding the message, showing the message, etc).

This post was edited on 11-27-2006 at 04:47 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
11-27-2006 04:42 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[?] SendMessage Problem - by Spunky on 11-27-2006 at 02:02 PM
RE: [?] SendMessage Problem - by Felu on 11-27-2006 at 02:15 PM
RE: [?] SendMessage Problem - by CookieRevised on 11-27-2006 at 04:42 PM
RE: [?] SendMessage Problem - by Spunky on 11-27-2006 at 04:50 PM
RE: [?] SendMessage Problem - by CookieRevised on 11-27-2006 at 08:22 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