我正在尝试创建一个简单的GUI,其中我添加了一个图像,然后覆盖另一个图像与透明的背景在它上面。从本质上说,第二个图像只是在原始图像的基础上“加载”。
我已经尝试了下面的代码,但是“加载”图像只是将自己放置在另一个背景为白色的图像上,并且完全模糊了它。如果我交换GUI 1和2出现的顺序,那么同样的问题就会发生,但是“噩梦”图像阻塞了另一个。
有小费吗?
Gui, 1: -Caption +ToolWindow
Gui, 1: Add, Picture, h%A_ScreenHeight% w%A_ScreenWidth% AltSubmit BackgroundTrans, D:\FrontEnd\HyperSpin\Splash Images\Loading.png
Gui, 2: -Caption +ToolWindow
Gui, 2: Add, Picture, h%A_ScreenHeight% w%A_ScreenWidth%, D:\FrontEnd\HyperSpin\Splash Images\SC2 Nightmare.jpg
Gui, 2: Show, x-10 y-7 h%A_ScreenHeight% w%A_ScreenWidth%
Sleep, 1000
Gui, 1: Show, x-10 y-7 h%A_ScreenHeight% w%A_ScreenWidth%发布于 2019-08-05 07:30:32
https://stackoverflow.com/questions/53586657
复制相似问题