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:
Pai
Full Member
***

w00t !

Posts: 203
Reputation: 2
– / Male / –
Joined: Sep 2003
O.P. [help] destroying a window without crashing WLM
I'm trying to destroy a window through the API (plus doesn't offer functions to do this), but either instantly or soner or later WLM crashes ...

I can hide/show windows, close them (this doesn't destroy them, just sorta minimizes them) and everything works fine.

code:
Hiding:
Interop.Call('user32','ShowWindow',Wnd.Handle, 0);

Showing:
Interop.Call('user32','ShowWindow',Wnd.Handle, 1);

Close(minimize):
Interop.Call('user32','CloseWindow',Wnd.Handle);

Destroy:
Interop.Call('user32','DestroyWindow',Wnd.Handle);

According to MSDN this is correct ...

Any ideas ?

Thanks
07-22-2006 04:37 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