Hi,
ich habe was seltsames entdeckt.
Ist es normal, dass wenn ich ein durch GUICtrlCreateIcon erzeugtes Icon durch GUICtrlSetImage verändere dieses nicht die Größe beibehält?
Spoiler anzeigen
[autoit]
#Region ;************ Includes ************
#include <GUIConstantsEx.au3>
#EndRegion ;************ Includes ************
GUICreate("My GUI group", 300, 300)
[/autoit] [autoit][/autoit] [autoit]Global $hIcon1 = GUICtrlCreateIcon("shell32.dll", -5, 20, 20, 240, 240) ;Leericon
[/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]GUISetState(@SW_SHOW) ; will display an empty dialog box
[/autoit] [autoit][/autoit] [autoit]Sleep(2000)
GUICtrlSetImage($hIcon1, "shell32.dll", -6) ;Leericon
; Loop until the user exits.
While 1
Switch GUIGetMsg()
Case $GUI_EVENT_CLOSE
ExitLoop
EndSwitch
WEnd
Getestet mit 3.3.12.0
Wenn ich es richtig sehe funktionierte dies in 3.3.8.1 noch.
Bitte mal testen ![]()