Hallo zusammen.
Wie kann man aus einer DLL z.B. der Shell32.dll ein BMP-File auslesen
und in eine Gui platzieren ?
Das Bild sollte die Gui ausfuellen.(Mass=800,600)
DLL und BMP
-
- [ offen ]
-
Johnny1980 -
24. Mai 2007 um 18:02 -
Geschlossen -
Erledigt
-
-
vielleicht hilft dir GUICtrlCreatePic schon weiter???
snoozy -
- Offizieller Beitrag
Hi,
[autoit]#include<GUIConstants.au3>
[/autoit][autoit][/autoit][autoit]
$mainwindow = GUICreate("DLl Icon", 800, 600, 50)
GUISetIcon(@SystemDir & "\shell32.dll", 17)
GUICtrlCreateIcon(@SystemDir & "\shell32.dll", 15, 0, 0, 800, 600)
GUICtrlCreatePic(@SystemDir & "\oobe\images\mslogo.jpg", 0, 0, 100, 100)
GUISetState(); Run the GUI until the dialog is closed
[/autoit][autoit][/autoit][autoit]
While 1
$msg = GUIGetMsg()If $msg = $GUI_EVENT_CLOSE Then ExitLoop
[/autoit]
WEndSo long,
Mega