您需要 登录 才可以下载或查看,没有账号?加入
举报
#include <GUIConstantsEx.au3> #include <WindowsConstants.au3> $hwnd = GUICreate("Animate Window", 300, 300) $hwnd = GUICreate("Animate Window", 300, 300) DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 3000, "long", 0x00080000) GUISetState() While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 3000, "long", 0x00090000) Exit EndSwitch WEnd
查看全部评分
#include <GUIConstantsEx.au3> #include <WindowsConstants.au3> $hwnd = GUICreate("Animate Window", 300, 300) show($hwnd) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 2000, "long", 0x00090000) Exit EndSwitch WEnd Func show($hwnd) WinSetTrans($hwnd, '', 5) GUISetState() For $i = 5 To 255 Step 5 WinSetTrans($hwnd, '', $i) Sleep(20) Next EndFunc ;==>show
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-5-20 09:22 , Processed in 0.154468 second(s), 21 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2025 Discuz! Team.