What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Question (newb) about some api

Question (newb) about some api
Author: Message:
Plan-1130
Full Member
***

I keep askin' myself: why?

Posts: 142
73 / Male / –
Joined: Feb 2005
RE: Question (newb) about some api
code:
Interop.Call("User32", "SendMessageW", hWnd, 0x10, 0, 0);

actually SendMessageW will force the close command to be executed immidiately, for the mainwindow that might work, but using PostMessageW just puts the close command at the end of the line...
Use instead:
code:
Interop.Call("User32", "PostMessageW", hWnd, 0x10, 0, 0);
if you want to play it safe.

This post was edited on 11-15-2006 at 11:25 PM by Plan-1130.
My Scripts: UltimatFlooder, Advanced PSM Chat, PlusPrivacy, PlusRemote

[Image: Plan-1130.png]
11-15-2006 11:24 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Question (newb) about some api - by AITEE on 11-15-2006 at 01:40 AM
RE: Question (newb) about some api - by matty on 11-15-2006 at 01:57 AM
RE: Question (newb) about some api - by AITEE on 11-15-2006 at 03:58 AM
RE: Question (newb) about some api - by CookieRevised on 11-15-2006 at 04:34 AM
RE: Question (newb) about some api - by Plan-1130 on 11-15-2006 at 11:24 PM
RE: Question (newb) about some api - by CookieRevised on 11-16-2006 at 12:53 AM
RE: Question (newb) about some api - by Plan-1130 on 11-16-2006 at 06:32 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