quote:
Originally posted by Owl
The documentation doesn't seem to give any easy way to leave a chat (probably quite easy to work around, just close the window one way or another), or to invite people into a chat window (could be harder to work around)
I'm hoping the future will bring a bigger toolkit for use with MPL scripts
Owl
Closing a chat window is simple.
code:
Interop.Call("User32", "SendMessageW", pChatWnd.Handle, 0x10, 0, 0);
Note that 0x10 is WM_CLOSE, and pChatWnd is the ChatWnd object.