js code:function OnEvent_ChatWndReceiveMessage(ChatWnd) { Interop.Call('user32', 'BringWindowToTopW', ChatWnd.Handle); }