找回密码
 加入
搜索
楼主: 131738

[特效] 新栏开章, 凑个热闹,无边框渐大渐小(扩大/缩小)的效果 GUI 效果

 火... [复制链接]
发表于 2010-8-9 12:26:28 | 显示全部楼层
好东西。。谢谢分享
发表于 2010-8-9 23:10:54 | 显示全部楼层
刚刚试试了源码可以运行啊!还觉得效果不错啊!
发表于 2010-8-11 18:36:52 | 显示全部楼层
凑个热闹,收藏下
发表于 2010-9-30 17:25:04 | 显示全部楼层
无边框,很帅的,呵呵
发表于 2010-10-7 00:27:19 | 显示全部楼层
好东西呀收下了
发表于 2010-10-7 11:15:47 | 显示全部楼层
有了这些,窗口更加丰富了
发表于 2010-11-8 09:45:10 | 显示全部楼层
淡入淡出效果有!
发表于 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
发表于 2011-5-31 20:50:47 | 显示全部楼层
好帖,学习了,谢谢分享源码
发表于 2011-9-9 22:46:08 | 显示全部楼层
效果我很喜欢,谢谢分享!
发表于 2011-9-26 20:19:22 | 显示全部楼层
很精彩啊,如果有背景图片怎么做?我测试了是等效果结束时图片才显示。
发表于 2011-10-26 16:28:49 | 显示全部楼层
来看看,好东西
发表于 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 - 塌缩
发表于 2011-10-29 07:17:06 | 显示全部楼层
好东西,试看看
 楼主| 发表于 2011-10-29 21:10:32 | 显示全部楼层
本帖最后由 131738 于 2011-10-29 21:19 编辑

回复 30# netegg

这个看过的,可能使用不得法,有些效果不能实现,而且最新 5.3 没有这许多参数值!

大概测试了下,下半部份参数值都提示未定义。。。
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-11-21 19:10 , Processed in 0.075311 second(s), 14 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表