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 */)
}