Also.
Ich habe vor mal eine coole gui für meinen nächsten trainer zu machen.
Dann bin ich darauf gestoßen.
Ich kann es nicht so gut erklären, hier mal der script:
Leute die vista haben, sollten den effekt sehen.
Nun mein Problem ist aber dass man die beschriftung der checkbox nicht sehen kann.
Auch ein Label ist nicht sichtbar.
Ist es möglich dass man die schrift eindeutig sieht? also pechschwarz?
danke im vorraus
Ich habe vor mal eine coole gui für meinen nächsten trainer zu machen.
Dann bin ich darauf gestoßen.
Ich kann es nicht so gut erklären, hier mal der script:
Code:
#include <GUIConstants.au3>
$Struct = DllStructCreate("int cxLeftWidth;int cxRightWidth;int cyTopHeight;int cyBottomHeight;")
$sStruct = DllStructCreate("dword;int;ptr;int")
Global $MyArea[4] = [50, 50, 50, 50]
$GUI = GUICreate("Trainer by FreehuntX", 555, 179, 192, 124)
$Checkbox1 = GUICtrlCreateCheckbox("Test", 8, 8, 17, 17)
GUISetState()
_Vista_EnableBlurBehind($GUI)
While 1
$iMsg = GUIGetMsg()
Switch $iMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
; #FUNCTION#;===============================================================================
;
; Name...........: _Vista_EnableBlurBehind
; Description ...: Enables the blur effect on the provided window handle.
; Syntax.........: _Vista_EnableBlurBehind($hWnd)
; Parameters ....: $hWnd - Window handle:
; Return values .: Success - No return
; Failure - Returns 0
; Author ........: James Brooks
; Modified.......:
; Remarks .......: Thanks to komalo
; Related .......:
; Link ..........;
; Example .......; Yes
;
;;==========================================================================================
Func _Vista_EnableBlurBehind($hWnd, $bColor = 0x000000)
Const $DWM_BB_ENABLE = 0x00000001
DllStructSetData($sStruct, 1, $DWM_BB_ENABLE)
DllStructSetData($sStruct, 2, "1")
DllStructSetData($sStruct, 4, "1")
GUISetBkColor($bColor); Must be here!
$Ret = DllCall("dwmapi.dll", "int", "DwmEnableBlurBehindWindow", "hwnd", $hWnd, "ptr", DllStructGetPtr($sStruct))
If @error Then
Return 0
Else
Return $Ret
EndIf
EndFunc
Leute die vista haben, sollten den effekt sehen.
Nun mein Problem ist aber dass man die beschriftung der checkbox nicht sehen kann.
Auch ein Label ist nicht sichtbar.
Ist es möglich dass man die schrift eindeutig sieht? also pechschwarz?
danke im vorraus