$hGui = GUICreate("SoftButton Test", 416, 116) $hButton1 = _GUICtrlButton_CreateSoft("Text", "ohne UAC Symbol", 8, 8, 200, 100, false) $hButton2 = _GUICtrlButton_CreateSoft("Text", "mit UAC Symbol", 208, 8, 200, 100, true) GUISetState() While 1 Switch GUIGetMsg() Case -3 Exit Case $hButton1, $hButton2 ConsoleWrite("Seeeeems leeeggiiit" & @CRLF) EndSwitch WEnd Func _GUICtrlButton_CreateSoft($sText1, $sText2, $iX, $iY, $iWidth, $iHeight, $fUACNeeded = false) Local $hBtn = GUICtrlCreateButton($sText1, $iX, $iY, $iWidth, $iHeight, 14,-1) DllCall("user32.dll", "uint", "SendMessage", "handle", GUICtrlGetHandle($hBtn), "uint", 5641, "ptr*", 0, "wstr", $sText2) DllCall("user32.dll", "uint", "SendMessage", "handle", GUICtrlGetHandle($hBtn), "uint", 5644, "ptr*", 0, "bool", $fUACNeeded) Return $hBtn EndFunc