matty
Scripting Guru
Posts: 8336 Reputation: 109
39 / /
Joined: Dec 2002
Status: Away
|
RE: [Request] Remove user from multi-conversation
code: function OnEvent_ChatWndCreated(pChatWnd){
if (pChatWnd.Contacts.Count != 1){
if (Interop.Call('user32', 'MessageBoxW', pChatWnd.Handle, 'Exit multi-user conversation?', 'Exit :', 36) == 6){
Interop.Call('user32', 'SendMessageW', pChatWnd.Handle, 0x10, 0, 0);
}
}
}
This post was edited on 06-25-2006 at 07:37 PM by matty.
|
|