basketballkun
发表于 2010-8-9 12:26:28
好东西。。谢谢分享
思夜月心
发表于 2010-8-9 23:10:54
刚刚试试了源码可以运行啊!还觉得效果不错啊!
tryhi
发表于 2010-8-11 18:36:52
凑个热闹,收藏下
qq82015930
发表于 2010-9-30 17:25:04
无边框,很帅的,呵呵{:face (114):}
chilonghuang
发表于 2010-10-7 00:27:19
好东西呀收下了
lin0308
发表于 2010-10-7 11:15:47
有了这些,窗口更加丰富了
3131806
发表于 2010-11-8 09:45:10
淡入淡出效果有!
annybaby
发表于 2011-5-25 23:48:13
回复 12# 131738 #include <WindowsConstants.au3>
$hwnd = GUICreate("Animate Window", 800, 600,-1,-1,BitOR($WS_POPUP,$WS_CLIPSIBLINGS))
GUISetBkColor(0xFFEBCD)
DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 2000, "long", 0x00080000);fade-in
GUISetState()
DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 2000, "long", 0x00090000);fade-out
DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 2000, "long", 0x00040001);slide in from left
DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 2000, "long", 0x00050002);slide out to left
DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 2000, "long", 0x00040002);slide in from right
DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 2000, "long", 0x00050001);slide out to right
DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 2000, "long", 0x00040004);slide-in from top
DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 2000, "long", 0x00050008);slide-out to top
DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 2000, "long", 0x00040008);slide-in from bottom
DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 2000, "long", 0x00050004);slide-out to bottom
DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 2000, "long", 0x00040005);diag slide-in from Top-left
DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 2000, "long", 0x0005000a);diag slide-out to Top-left
DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 2000, "long", 0x00040006);diag slide-in from Top-Right
DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 2000, "long", 0x00050009);diag slide-out to Top-Right
DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 2000, "long", 0x00040009);diag slide-in from Bottom-left
DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 2000, "long", 0x00050006);diag slide-out to Bottom-left
DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 2000, "long", 0x0004000a);diag slide-in from Bottom-right
DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 2000, "long", 0x00050005);diag slide-out to Bottom-right
DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 2000, "long", 0x00040010);explode
DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 2000, "long", 0x00050010);implode
jiang19870415
发表于 2011-5-31 20:50:47
好帖,学习了,谢谢分享源码
xms77
发表于 2011-9-9 22:46:08
效果我很喜欢,谢谢分享!
brostart
发表于 2011-9-26 20:19:22
很精彩啊,如果有背景图片怎么做?我测试了是等效果结束时图片才显示。
mhh123
发表于 2011-10-26 16:28:49
来看看,好东西
netegg
发表于 2011-10-27 03:51:49
本帖最后由 netegg 于 2011-10-27 03:53 编辑
#Include <WinAPIEx.au3>
_WinAPI_AnimateWindow
$iFlags:
使用AW_HIDE及一个逻辑或(or)操作符
$AW_ACTIVATE - 激活窗体. 不能与$AW_HIDE同时使用.
$AW_BLEND - 使用渐隐效果. 仅当$hWnd为顶层窗口时有效.
$AW_CENTER - 如果使用$AW_HIDE窗体向内收缩, 如果未使用则向外扩张. 不同方向标记无效.
$AW_HIDE - 隐藏窗体. 默认窗体为显示状态.
$AW_HOR_POSITIVE - 窗体从左至右动画. 该标记可与滚动或滑动动画使用. 使用$AW_CENTER或$AW_BLEND时忽略
$AW_HOR_NEGATIVE - 窗体从右至左动画. 该标记可与滚动或滑动动画使用. 使用$AW_CENTER或$AW_BLEND时忽略
$AW_SLIDE - 使用滑动动画. 默认, 使用滚动动画. 该标记当使用$AW_CENTER时忽略.
$AW_VER_POSITIVE - 窗体从顶至底动画. 该标记可与滚动或滑动动画使用. 使用$AW_CENTER或$AW_BLEND时忽略
$AW_VER_NEGATIVE - 窗体从底至顶动画. 该标记可与滚动或滑动动画使用. 使用$AW_CENTER或$AW_BLEND时忽略
$AW_FADE_IN - 窗体淡入
$AW_FADE_OUT - 窗体淡出
$AW_SLIDE_IN_LEFT - 从左侧滑入
$AW_SLIDE_OUT_LEFT - 滑出到左侧
$AW_SLIDE_IN_RIGHT - 从右侧滑入
$AW_SLIDE_OUT_RIGHT - 滑出到右侧
$AW_SLIDE_IN_TOP - 从顶部滑入
$AW_SLIDE_OUT_TOP - 滑出到顶部
$AW_SLIDE_IN_BOTTOM - 从底部滑入
$AW_SLIDE_OUT_BOTTOM - 滑出到底部
$AW_DIAG_SLIDE_IN_TOPLEFT - 从左上角沿对角线滑入
$AW_DIAG_SLIDE_OUT_TOPLEFT - 从左上角沿对角线滑出
$AW_DIAG_SLIDE_IN_TOPRIGHT - 从右上角沿对角线滑入
$AW_DIAG_SLIDE_OUT_TOPRIGHT - 从右上角沿对角线滑出
$AW_DIAG_SLIDE_IN_BOTTOMLEFT - 从左下角沿对角线滑入
$AW_DIAG_SLIDE_OUT_BOTTOMLEFT - 从左下角沿对角线滑出
$AW_DIAG_SLIDE_IN_BOTTOMRIGHT - 从右下上角沿对角线滑入
$AW_DIAG_SLIDE_OUT_BOTTOMRIGHT - 从右下上角沿对角线滑出
$AW_EXPLODE - 扩张
$AW_IMPLODE - 塌缩
vgy0dl
发表于 2011-10-29 07:17:06
好东西,试看看
131738
发表于 2011-10-29 21:10:32
本帖最后由 131738 于 2011-10-29 21:19 编辑
回复 30# netegg
这个看过的,可能使用不得法,有些效果不能实现,而且最新 5.3 没有这许多参数值!
大概测试了下,下半部份参数值都提示未定义。。。