What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Multiple Chat Windows, Unique Variables For Each

Multiple Chat Windows, Unique Variables For Each
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Multiple Chat Windows, Unique Variables For Each
js code:
var oChatWnds = {};

function OnEvent_ChatWndCreated(pChatWnd) {
    oChatWnds[pChatWnd.Handle] = {};
        oChatWnds[pChatWnd.Handle].pChatWnd = pChatWnd;
        oChatWnds[pChatWnd.Handle].myVar = 'x';
}

function OnEvent_ChatWndDestroyed(pChatWnd) {
    delete oChatWnds[pChatWnd.Handle];
}

This post was edited on 02-02-2009 at 11:42 PM by matty.
02-02-2009 11:40 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Multiple Chat Windows, Unique Variables For Each - by Master Jake on 02-01-2009 at 05:34 AM
RE: Multiple Chat Windows, Unique Variables For Each - by NanaFreak on 02-01-2009 at 05:46 AM
RE: Multiple Chat Windows, Unique Variables For Each - by Master Jake on 02-02-2009 at 09:57 PM
RE: Multiple Chat Windows, Unique Variables For Each - by matty on 02-02-2009 at 11:40 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