quote:
Originally posted by the andyman
code:
        return Message;
        Wnd.Close(0);
        Interop.Call("user32.dll", "EnableWindow", ChatWnd.Handle, true);
Code after the return will not be executed. Make that:
code:
        Wnd.Close(0);
        Interop.Call("user32.dll", "EnableWindow", ChatWnd.Handle, true);
        return Message;