请问这个黑色的角怎么去除,多多指教~!
本帖最后由 kv998 于 2009-12-25 19:10 编辑请问这个黑色的角怎么去除~!
#include <WinAPI.au3>
_WinAPI_CreateRoundRectRgn
_WinAPI_SetWindowRgn 回复 2# pusofalse
??#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请问这个黑色的角怎么去除 :face (37): 我也遇到这样的问题!解决不了!我觉得应该去不掉的! 回复 5# hzxymkb
2L 已经给出答案了。而且论坛也有相关udf。 回复 6# afan
好的!谢谢大版主!你真是好人!新手不懂这个!不要见笑哦! 解决不了,有谁帮我改一下上面的代码。谢谢~! 回复 8# kv998
换一种方式吧#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 回复 9# afan
谢谢你~!
页:
[1]