function OnLButtonDblClick(int X, int Y)
{
local Color Color;
local Rect rectWnd;
Color.R = byte(255);
Color.G = byte(255);
Color.B = byte(255);
Color.A = byte(255);
NormalChat = ChatWindowHandle(GetHandle("ChatWnd.NormalChat"));
NormalChat.AddString("x" $string(x), Color);
NormalChat.AddString("y" $string
, Color);
xxGetWindowHandle("AutoPotionsWnd.configPotions").HideWindow();
}
function OnLButtonDown(WindowHandle a_WindowHandle, int X, int Y)
{
local UserInfo UserInfo;
local Color Color;
local Rect rectWnd;
Color.R = byte(255);
Color.G = byte(255);
Color.B = byte(255);
Color.A = byte(255);
NormalChat = ChatWindowHandle(GetHandle("ChatWnd.NormalChat"));
NormalChat.AddString("handle_name" $a_WindowHandle.GetWindowName(), Color);
NormalChat.AddString("x" $string(x), Color);
NormalChat.AddString("y" $string
, Color);
}