TaskDialog
Informationen
- Function Area: GUI
- Version: 16.0.0.4705
- Published Date: Montag, 11. März 2013
- Developer: Wauerausgeschieden
- Subject: Erweiterte Form der MessageBox
- Needs DB Modification: False
Beschreibung
Mit dem unter Windows Vista eingeführten TaskDialog, wird ein neues Dialogfenster bereitgestellt, welches über folgende Funktionen konfigurierbar ist:
TaskDlg_Create erzeugt einen neuen TaskDialog. TaskDlg_Create( «string $sWindowTitle», «string $sMainInstruction», «string $sContent», «string $sFooter», «string $sCollapsedText»,«string $sExpandedText», «string $sExpandedInfo», «string $sVerificationBoxText, «int $bSetVerifyCheckState», [«int $nInputBox», «string $sInputBoxText»] )
TaskDlg_AddButton erzeugt einen benutzerdefinierten Button.
TaskDlg_AddButton( «string $sButtonText», «int $nButtonId», «int $bEnableCommandLink»,
«int $bShowIcon» [, «int $bIsDefaultButton»] )
TaskDlg_AddRadioButton erzeugt einen benutzerdefinierten Radiobutton. TaskDlg_AddRadioButton( «string $sButtonText», «int $nButtonId» [, «int $bIsDefaultButton»] )
TaskDlg_SetStandardButtons erzeugt einen vordefinierten Standardbutton. TaskDlg_SetStandardButtons( «int $iFlags» | [«int $bOk», «int $bYes», «int $bNo», «int $bChancel», «int $bRetry», «int $bClose»] )
TaskDlg_SetIcons ermöglicht das Setzen eines Icons im Taskdialog, sowie in dessen Fußzeile. TaskDlg_SetIcons( «int $nMainIcon» | «string $sMainIconPath» [, «int $nFooterIcon» | «string $sFooterIconPath» ]
TaskDlg_Show zeigt den Taskdialog an. Falls ein Buttons gedrückt wurde, wird dessen ID zurückgegeben, anderenfalls -1.
TaskDlg_Show( «byref int $nRadioButtonId», «byref string $sInputText»,
«byref int $bIsVerificationChecked» )