APIDrawButton("确定",200,50,-1,100)
MsgBox(0,"","")
func APIDrawButton($Text,$_XL,$_YT,$_XR,$_YB)
SplashTextOn("Splash",$Text,$_XL,$_YT,$_XR,$_YB,33)
$SplashID = WinGetHandle ( "Splash")
$Rectangle = DllStructCreate("int;int;int;int")
$hdc = DllCall("user32.dll", "hwnd", "GetDC", "hwnd", $SplashID)
$hdc = $hdc[0]
DllStructSetData($Rectangle, 1, 0)
DllStructSetData($Rectangle, 2, 0)
DllStructSetData($Rectangle, 3, $_XL)
DllStructSetData($Rectangle, 4, $_YT)
DllCall("user32.dll","none","DrawFrameControl", "hwnd", $hdc, "ptr", DllStructGetPtr($Rectangle), "int",0x0000, "int", 0x0002)
DllCall("user32.dll", "hwnd", "ReleaseDC","hwnd", $SplashID, "hwnd", $hdc);
endfunc