AU3利用窗口的透明来做一个渐显的GUI
;Animate Display *nice* addition<br />; Author Raindancer<br /><br />$hwnd = GUICreate("Animate Window", 300, 300)<br /><br />DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 10000, "long", 0x00080000);fade-in<br />GUISetState()<br />DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 1000, "long", 0x00090000);fade-out<br />DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 1000, "long", 0x00040001);slide in from left<br />DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 1000, "long", 0x00050002);slide out to left<br />DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 1000, "long", 0x00040002);slide in from right<br />DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 1000, "long", 0x00050001);slide out to right<br />DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 1000, "long", 0x00040004);slide-in from top<br />DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 1000, "long", 0x00050008);slide-out to top<br />DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 1000, "long", 0x00040008);slide-in from bottom<br />DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 1000, "long", 0x00050004);slide-out to bottom<br />DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 1000, "long", 0x00040005);diag slide-in from Top-left<br />DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 1000, "long", 0x0005000a);diag slide-out to Top-left<br />DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 1000, "long", 0x00040006);diag slide-in from Top-Right<br />DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 1000, "long", 0x00050009);diag slide-out to Top-Right<br />DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 1000, "long", 0x00040009);diag slide-in from Bottom-left<br />DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 1000, "long", 0x00050006);diag slide-out to Bottom-left<br />DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 1000, "long", 0x0004000a);diag slide-in from Bottom-right<br />DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 1000, "long", 0x00050005);diag slide-out to Bottom-right<br />DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 1000, "long", 0x00040010);explode<br />DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 1000, "long", 0x00050010);implode<br /><br />#define AW_HOR_POSITIVE 0x00000001<br />#define AW_HOR_NEGATIVE 0x00000002<br />#define AW_VER_POSITIVE 0x00000004<br />#define AW_VER_NEGATIVE 0x00000008<br />#define AW_CENTER 0x00000010<br />#define AW_HIDE 0x00010000<br />#define AW_ACTIVATE 0x00020000<br />#define AW_SLIDE 0x00040000<br />#define AW_BLEND 0x00080000<br /><br /> 要DLL文件啊。。。。。。。 是个windows里面都有这个dll,这是api函数 顶下..学习中 GUISetState()为什么不紧跟着$hwnd = GUICreate("Animate Window", 300, 300)?下面的#define AW_HOR_POSITIVE 0x00000001也不明白 好像很高深的样子哦。。。。慢慢来,慢慢学习。。。。 很有意思的小程序 呵呵....有同感
偶的AU3还没入门
以前只弄VFP,后来就只用PB。
现在要从0学AU3了..... 好像蛮有趣哦 AU3,要好好学习下,不太懂 看到了顶一下 不太明显,怎么去掉标题呢。像delph那样的。 非常好用,谢谢了 学习下。。。 非常好用,谢谢了