Code:
Dimmain = function() local load, band, bor, sprintf = Library.Load, Bitwise.And, Bitwise.Or, string.format; local user32 = load("user32.dll"); local style = user32.GetWindowLongA(Application.GetWndHandle(), -20); style = bor(style, 0x00080000); user32.SetWindowLongA(Application.GetWndHandle(), -20, style); user32.SetLayeredWindowAttributes(Application.GetWndHandle(),0,0,0x00000002) end;
Code:
User32.SetLayeredWindowAttributes(Application.GetWndHandle(),0,255,0x00000002)
You'll need MemoryEx to do this.
Leave a comment: