DLL und BMP

  • 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)

    ;)

    • Offizieller Beitrag

    Hi,

    [autoit]

    #include<GUIConstants.au3>
    $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()

    [/autoit][autoit][/autoit][autoit]

    ; Run the GUI until the dialog is closed
    While 1
    $msg = GUIGetMsg()

    [/autoit][autoit][/autoit][autoit]

    If $msg = $GUI_EVENT_CLOSE Then ExitLoop
    WEnd

    [/autoit]

    So long,

    Mega