Die Icons sind in 4, 8 und 32 Bit und in einer Auflösung von 16x16, 32x32, 48x48 und 256x256 abgespeichert. D.h. du solltest je nach Bedarf das entsprechende Icon dir heraussuchen.
Einen Icon in 32x32 auf 256x256 zu skalieren, macht hier keinen Sinn.
Spoiler anzeigen
[autoit]
#include <GUIConstantsEx.au3>
GUICreate("Meine GUI Icons", 700, 300)
[/autoit] [autoit][/autoit] [autoit]$icon = "C:\Windows\system32\mobsync.exe"
[/autoit] [autoit][/autoit] [autoit]GUICtrlCreateIcon($icon, 1, 20, 20, 16, 16)
GUICtrlCreateIcon($icon, 1, 100, 20, 32, 32)
GUICtrlCreateIcon($icon, 1, 200, 20, 48, 48)
GUICtrlCreateIcon($icon, 1, 300, 20, 256, 256)
GUISetState()
While 1
Local $msg = GUIGetMsg()
If $msg = $GUI_EVENT_CLOSE Then ExitLoop
WEnd
Notfalls muss du das Icon mit GDI+ / WinAPI extrahieren und skalieren.
Gruß,
UEZ