Zeigt das Dialogfeld Windows Info an
#include <WinAPIDlg.au3>
_WinAPI_ShellAboutDlg ( $sTitle, $sName, $sText [, $hIcon = 0 [, $hParent = 0]] )
$sTitle | Der Titel des Dialogfelds Windows Info. |
$sName | Die erste Zeile nach dem Text "Microsoft". |
$sText | Der Text, der im Dialogfeld nach den Versions- und Copyright-Informationen angezeigt werden soll. |
$hIcon | [optional] Handle auf das Symbol, das die Funktion im Dialogfenster anzeigt. |
$hParent | [optional] Handle zu einem übergeordneten Fenster. |
Erfolg: | True. |
Fehler: | False. |
Suche nach ShellAbout in der MSDN Bibliothek.
#include <GUIConstantsEx.au3>
#include <WinAPIDlg.au3>
#include <WinAPIShellEx.au3>
Local $hForm = GUICreate('Test ' & StringReplace(@ScriptName, '.au3', '()'), 400, 400)
Local $idButton = GUICtrlCreateButton('Über', 165, 366, 70, 23)
GUICtrlSetState($idButton, $GUI_DEFBUTTON)
GUISetState(@SW_SHOW)
Send('{Enter}')
While 1
Switch GUIGetMsg()
Case $GUI_EVENT_CLOSE
ExitLoop
Case $idButton
_WinAPI_ShellAboutDlg('Über', 'Über Dialogbox Test', 'Einfacher Text', _WinAPI_ShellExtractIcon(@AutoItExe, 0, 32, 32), $hForm)
EndSwitch
WEnd