#include <GuiConstants.au3> $my_gui = GUICreate(" SkinIt", 300, 300) $button = GUICtrlCreateButton("Exit", 35, 10) _MyForm($my_gui) GUISetState() While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE Or $msg = $button ExitLoop Case Else ;;; EndSelect WEnd Exit Func _MyForm($h_win) Dim $ret, $ret2, $ret3, $ret4 $ret = DllCall("gdi32.dll", "long", "CreateRoundRectRgn", "long", 48, "long", 48, "long", 300, "long", 200, "lo