--Wenas compaņeros , aqui van dos funciones para detectar el --Doble click en objetos que no disponen de tal evento, --la funcion es adaptable a click o un righclick y a mas cosas a gusto del ususario. --la primera funcion detecta cuando estamos sobre el objeto y la tendriamos en global : function IsInRect(m_nX, m_nY, m_tblPos, m_tblSize) local bReturn = false; if (m_nX >= m_tblPos.X) and (m_nX <= m_tblPos.X + m_tblSize.Width) then if (m_nY >= m_tblPos.Y) and (m_nY <= m_tblPos.Y + m_tblSize.Height) then bReturn = true; end end return bReturn; end -- La siguiente seria aplicable a "plugin1" y la ejecutaremos en on mousse button: if IsInRect(e_X, e_Y, Plugin.GetPos("Plugin1"),Plugin.GetSize("Plugin1")) then if e_Type == LEFT_BUTTON_UP then nCurTime = DLL.CallFunction(_SystemFolder .. "\\winmm.dll", "timeGetTime", "", DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL) if nCurTime - nLastTime <= nDblClickTime then -- Double click action end nLastTime = nCurTime end end