Hi,
ich möchte ein Icon aus einer dll auswählen
Wie mache ich das?
Spoiler anzeigen
[autoit]
#include <GUIConstants.au3>
#include <Array.au3>
$GUI = GUICreate("Test", 1000, 980, -1, -1)
$beenden = GuiCtrlCreateButton ("beenden", 820, 70, 50, 50, $BS_ICON)
GUICtrlCreateLabel(" beenden", 817, 40, -1, -1, BitOR($WS_BORDER, $SS_CENTERIMAGE))
GUICtrlSetBkColor(-1, 0xB0E0E6)
GUICtrlSetImage ($beenden, "shell32.dll", 28)
$icon = GUICtrlCreateIcon("", 0, 50, 50, 50, 50, BitOR($SS_NOTIFY,$WS_GROUP))
$open = FileOpenDialog("","C:\","(*.dll)")
;~ GUICtrlSetImage($Icon, $icon_name, $icon_id)
GUISetState(@SW_SHOW)
While 1
$msg = GUIGetMsg()
Select
Case $msg = $beenden
Exit
Case $msg = $GUI_EVENT_CLOSE
Exit
EndSelect
WEnd