Transparency in gui

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Kolonel
Posts: 33
Joined: 28 Jun 2020, 00:44

Transparency in gui

22 Oct 2021, 10:48

Transparency around images inside a gui is not really working for me as it should (test images attached or use your own if you want)

Code: Select all

#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%

Gui Color, 1a1a1a
Gui Font, S13, Segoe Script
Gui +LastFound +AlwaysOnTop +ToolWindow

Gui Add, Picture, x30 y80 w105 h-1, leftwing.png
Gui Add, Picture, x150 y80 w105 h-1, rightwing.png
Gui Show, h255 w330

return

$F1::
VarX += 10
VarY += 10

GuiControl, Move, Static1, % "x" VarX "y" VarY

return
$^r::Reload
Attachments
rightwing.png
rightwing.png (57.04 KiB) Viewed 271 times
leftwing.png
leftwing.png (57.95 KiB) Viewed 271 times
User avatar
mikeyww
Posts: 26972
Joined: 09 Sep 2014, 18:38

Re: Transparency in gui

22 Oct 2021, 11:37

I think I would try the BackgroundTrans option; see documentation.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Araphen, Bing [Bot], Peiya, ShatterCoder and 319 guests