Why do I have a black border on the bottom and right side? (See the image below)
How can I remove this border?
Here's the code I'm using....
Code: Select all
var = C:\Users\Desktop\logo.gif ;location of gif you want to show
Gui, 3:-border -Caption ; Boarderless
Gui, 3: Add, ActiveX, x0 y0 w400 h400 vWB, shell explorer ; set this to image size
wb.Navigate("about:blank")
html := "<html><body style='background-color: transparent' style='overflow:hidden' leftmargin='0' topmargin='0' rightmargin='0' bottommargin='0'><img src='" var "' border=0 padding=0></body></html>"
wb.document.write(html)
Gui, 3: Color, 000111
Gui, 3: show, AutoSize Center
WinSet, Transcolor, 000111, transparent
return
This is what it looks like.....