Code:
function QueryAllowProjectClose()
local handle = Application.GetWndHandle();
local Opacity=255
for i = 0, 255 do
Opacity = Opacity - 5
DLL.CallFunction("AutoPlay\\Docs\\wTrans.dll", "SetWindowTransparency", handle..","..Opacity, DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL)
if Opacity == 0 then break end
end
return true;
end

Leave a comment: