What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Question]Remembering a ChatWnd

[Question]Remembering a ChatWnd
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: [Question]Remembering a ChatWnd
Do NOT store the chat window handle, nor the object in a variable when you are going to use it later on.

Chat windows, like any window, can be closed. And closing a window means that your handle will become invalid and the object destroyed.

The proper way to do this is to store the contact's email address instead. When the time has come to send a message, you open up a chat window with that contact. If the 'old' chat window was never closed then it will be used again. If the chat window was closed, a new window will be created.
.-= A 'frrrrrrrituurrr' for Wacky =-.
12-12-2007 09:38 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Question]Remembering a ChatWnd - by MrR on 12-12-2007 at 06:24 PM
RE: [Question]Remembering a ChatWnd - by Spunky on 12-12-2007 at 07:31 PM
RE: [Question]Remembering a ChatWnd - by MrR on 12-12-2007 at 07:38 PM
RE: [Question]Remembering a ChatWnd - by Spunky on 12-12-2007 at 07:47 PM
RE: [Question]Remembering a ChatWnd - by MrR on 12-12-2007 at 08:05 PM
RE: [Question]Remembering a ChatWnd - by Spunky on 12-12-2007 at 08:17 PM
RE: [Question]Remembering a ChatWnd - by CookieRevised on 12-12-2007 at 09:38 PM
RE: [Question]Remembering a ChatWnd - by MrR on 12-12-2007 at 09:51 PM
RE: [Question]Remembering a ChatWnd - by CookieRevised on 12-12-2007 at 10:22 PM
RE: [Question]Remembering a ChatWnd - by MrR on 12-13-2007 at 06:06 AM
RE: RE: [Question]Remembering a ChatWnd - by CookieRevised on 12-13-2007 at 07:47 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