What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [help] destroying a window without crashing WLM

[help] destroying a window without crashing WLM
Author: Message:
Aeryn
Full Member
***

Avatar

Posts: 230
Reputation: 28
– / Female / –
Joined: Jun 2005
Status: Away
RE: [help] destroying a window without crashing WLM
Try:
code:
Interop.Call("User32", "SendMessageW", Wnd.Handle, 0x10, 0, 0);

0x10 is WM_CLOSE.

If that doesn't work then try SendMessage instead of SendMessageW.

Sometimes even this method crashes WLM though, but I'm not sure why. It should make the window do exactly what would happen if you pressed the X button.
07-22-2006 09:11 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[help] destroying a window without crashing WLM - by Pai on 07-22-2006 at 04:37 PM
RE: [help] destroying a window without crashing WLM - by Mnjul on 07-22-2006 at 07:46 PM
RE: [help] destroying a window without crashing WLM - by Mike on 07-22-2006 at 07:48 PM
RE: [help] destroying a window without crashing WLM - by cooldude_i06 on 07-22-2006 at 07:50 PM
RE: [help] destroying a window without crashing WLM - by Plik on 07-22-2006 at 07:52 PM
RE: [help] destroying a window without crashing WLM - by Pai on 07-22-2006 at 07:59 PM
RE: [help] destroying a window without crashing WLM - by Aeryn on 07-22-2006 at 09:11 PM
RE: [help] destroying a window without crashing WLM - by Pai on 07-23-2006 at 03:19 AM
RE: [help] destroying a window without crashing WLM - by Plan-1130 on 10-14-2006 at 08:50 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