Probier mal das ganze im Windows 7 Kompatibilitätsmodus auszuführen.
_WinAPI_SetLayeredWindowAttributes, transparente Sektionen sind bei Windows 10 inaktiv, nicht bei Windows 7.
-
xTcisloVe -
9. September 2018 um 15:58 -
Erledigt
-
-
Probier mal das ganze im Windows 7 Kompatibilitätsmodus auszuführen.
Bringt leider nichts, komisch.
-
Bringt leider nichts, komisch.
Hmm, eigenartig. Ich setz mir mal fix 'ne Win10 VM auf und teste das dann mal drauf. Melde mich gleich.
-
Hmm, eigenartig. Ich setz mir mal fix 'ne Win10 VM auf und teste das dann mal drauf. Melde mich gleich.
Okay danke dir. Hatte das Script extra kompiliert und auch das hier getestet:
https://www.autoitscript.com/forum/topic/10…ity-under-win7/ -
Okay, nach ein bisschen rumgestochere habe ich das Problem gefunden. Offenbar sind die transparenten Bereiche in 7 klickbar und in 10 nicht.
Da gibts aber einen "einfachen" Workaround. Zuerst habe ich versucht die Region des Controls auf seine eigentliche Region zu vergrößern aber das gelang mit nicht.
Du kannst um das ganze rudimentär zu lösen die WM_LBUTTOMUP Nachricht registrieren und abfragen in welcher Position (auf welchen Button) geklickt wurde und dann die entsprechende Funktion ausführen.
Aber da muss es doch bestimmt eine leichtere Methode geben...
-
Okay, nach ein bisschen rumgestochere habe ich das Problem gefunden. Offenbar sind die transparenten Bereiche in 7 klickbar und in 10 nicht.
Da gibts aber einen "einfachen" Workaround. Zuerst habe ich versucht die Region des Controls auf seine eigentliche Region zu vergrößern aber das gelang mit nicht.
Du kannst um das ganze rudimentär zu lösen die WM_LBUTTOMUP Nachricht registrieren und abfragen in welcher Position (auf welchen Button) geklickt wurde und dann die entsprechende Funktion ausführen.
Aber da muss es doch bestimmt eine leichtere Methode geben...
Interessant, danke fürs testen.
Das ginge natürlich, hatte ich auch dran gedacht, ist aber alles andere als schön und bei der Control Anzahl:....Liegt es vlt. an der UxTheme.dll ? Vlt sollte ich die von Win7 integerieren...
Edit: heute nachmittag werde ich einfach mal nur ne Transparenz von 250 statt 255 einstellen, wird kaum anders aussehen aber evtl helfen.
Edit: hab es auch mal mit Windows 7 getestet, da sind die transparenten Bereiche so wie es bei dir ist.
Liegt es evtl. Daran das auch das Fenster anders aussieht auf 7? Also der Rand und so.
Edit: Transparenz ändern hat nix gebracht.
Interessant ist das mit der GUICtrlOnHover UDF - https://www.autoitscript.com/forum/topic/55…lsetonhover-udf genau das selbe Problem auftritt! Wtf! -