I want find a way within MP!L script to minimize a chat window.
topic I found a snippet to close chat window:
Interop.Call("user32", "PostMessageW", ChatWnd.Handle, 0x0111, 40003, 0);
Work great, but with tabbed chats it leaves the chat window in focus (unless of course the closed window was the only chat window opened), so instead of going a long way by tracing which window was last in focus before wlm chat window was opened, I figured it would be much easier just minimize chat window instead...
I realize the consequences of doing so, but in my particular case it won't matter, as it will only be done with a specific account.