What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Hide Chat Windows

Hide Chat Windows
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Hide Chat Windows
quote:
Originally posted by Suxsem
i see in a website this function:
var finDaNasc = Messenger.CurrentChats
Interop.Call('user32', 'ShowWindow', finDaNasc.Handle, "SW_HIDE")
BUT this function DON'T work!
where is the error?
thank!
SW_HIDE wouldn't be a string.

And the code you saw is wrong. It would be
code:
for ( var oChat = new Enumerator(Messenger.CurrentChats); !oChat.atEnd(); oChat.moveNext()) {
    Interop.Call('user32', 'ShowWindow', oChat.item().Handle, 0 /* SW_HIDE */)
}

This post was edited on 03-21-2008 at 11:59 PM by matty.
03-21-2008 11:57 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Hide Chat Windows - by Suxsem on 03-21-2008 at 10:33 PM
RE: Hide Chat Windows - by Chris4 on 03-21-2008 at 10:45 PM
RE: Hide Chat Windows - by Suxsem on 03-21-2008 at 10:49 PM
RE: Hide Chat Windows - by Suxsem on 03-21-2008 at 10:56 PM
RE: Hide Chat Windows - by matty on 03-21-2008 at 11:57 PM
RE: Hide Chat Windows - by Suxsem on 03-22-2008 at 12:01 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