4876| 4
|
[GUI管理] 如何在屏幕中显示一张PNG透明图片【GDI相关】 |
悬赏30金钱已解决
最佳答案[au3]#include
#include
#include
Global Const $AC_SRC_ALPHA = 1
_GDIPlus_Startup()
$hImage = _GDIPlus_ImageLoadFromFile("normal.png")
$width = _GDIPlus_ImageGetWidth($hImage)
$height = _GDIPlus_ImageGetHeight($hImage)
$gui = GUICreate("", $width, $height, -1, -1, $WS_POPUP, $WS_EX_LAYERED, GUICreate(""))
SetBitmap($gui, $hImage, 255)
GUISetState()
WinSetOnTop($gui, "", 1)
Sleep(10000)
Func SetB ...
评分 | ||
发表于 2010-11-9 16:08:14
|
显示全部楼层
评分 | ||
发表于 2010-11-10 00:40:25
|
显示全部楼层
评分 | ||
发表于 2010-11-10 10:49:12
|
显示全部楼层
评分 | ||
发表于 2010-11-10 13:09:51
|
显示全部楼层
评分 | ||
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2024-12-23 19:06 , Processed in 0.078120 second(s), 23 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2024 Discuz! Team.