code:function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MessageKind){ Interop.Call("User32", "FlashWindow", ChatWnd.handle, true); }